$ npm install decompress-unzip
zip decompress plugin
$ npm install --save decompress-unzip
const decompress = require('decompress');
const decompressUnzip = require('decompress-unzip');
decompress('unicorn.zip', 'dist', {
plugins: [
decompressUnzip()
]
}).then(() => {
console.log('Files decompressed');
});
Type: Buffer
Buffer to decompress.
MIT © Kevin Mårtensson
© 2010 - cnpmjs.org x YWFE | Home | YWFE