New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

syszip

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

syszip

Simple wrapper for performing command line zip and unzip. Useful for extra large zip archives you don't want loaded into node ram. Only tested on CentOS 6.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Installation

npm install syszip

What does it do?

Simple wrapper for performing command line zip and unzip. Useful for extra large zip archives you don't want loaded into node ram. In order for this to work the calling program MUST be running as a user with permissions to the use zip/unzip commands in command line. This NPM module is still in early development and has only been tested on the listed operating systems:

  • CentOS 6

Coding Examples

    var sysZip = require('sysZip')();

    // create zip
    sysZip.create('archive.zip',['file.jpg','path/dir/name'],'/path/to/cwd',function(err){
    	if(err){
    		console.log('ERROR',err);
    	}else{
    		console.log('zip created');
    	}
    });

    // unzip
    sysZip.extract('archive.zip','/path/to/extract/to',function(err){
        if(err){
            console.log('ERROR',err);
        }else{
            console.log('zip created');
        }
    });

FAQs

Package last updated on 02 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts