cross-unzip
v0.2.1
Published
Cross-platform 'native' unzip in Node.js
Downloads
61,500
Readme
cross-unzip
See also: win-7zip, feross/cross-zip
- [x] Tested on OSX
- [x] Tested on Windows
- [x] 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
})