folder2zip
v1.1.0
Published
zipping a folder with the linux command line : 'zip'
Downloads
6
Maintainers
Readme
Folder2zip
zipping a folder with the linux command line : 'zip'
Simple Zip
var Folder2Zip = require('./Folder2Zip')
var zipper = new Folder2Zip('test', 'data', 'dataZip')
zipper.on('zipEnd', function ()
{
fs.exists('test/dataZip.zip', function (exist) {
})
})
zipper.on('ready', function () {
zipper.zip()
})
ZIP Promise use bluebird
var zipperPromise = new Folder2Zip('test', 'data', 'dataZipPromise')
zipperPromise.zipPromise().then(function () {
fs.exists('test/dataZipPromise.zip', function (exist) {
})
})