See also: win-7zip, feross/cross-zip
- Tested on OSX
- Tested on Windows
- Zip compress/decompress
- Progress feedback
$ npm install cross-unzip
$ npm install win-7zip # Windows support
let { zip, unzip } = require('cross-unzip')
// extract files
unzip('some/archive.zip', 'some/dir', err => {
// done
})
// compress files
zip('some/dir', 'some/archive.zip', err => {
// done
})