Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

zip-folder

1.0.0 • Public • Published

node-zip-folder

zips a folder and calls your callback when it's done AKA: something that maybe already exists in npmjs.org, but that I couldn't find.

Usage

var zipFolder = require('zip-folder');
 
zipFolder('/path/to/the/folder', '/path/to/archive.zip', function(err) {
    if(err) {
        console.log('oh no!', err);
    } else {
        console.log('EXCELLENT');
    }
});

Tests

Tests are in tests.js and built with nodeunit. Run npm test to run the tests.

Keywords

install

npm i zip-folder

Downloadsweekly downloads

12,627

version

1.0.0

license

Apache 2

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability