Bakhtina Sofya b84cb877be 1st comm | 3 semanas atrás | |
---|---|---|
.. | ||
node_modules | 3 semanas atrás | |
index.js | 3 semanas atrás | |
license | 3 semanas atrás | |
package.json | 3 semanas atrás | |
readme.md | 3 semanas atrás |
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