Bakhtina Sofya b84cb877be 1st comm | il y a 3 semaines | |
---|---|---|
.. | ||
node_modules | il y a 3 semaines | |
index.js | il y a 3 semaines | |
license | il y a 3 semaines | |
package.json | il y a 3 semaines | |
readme.md | il y a 3 semaines |
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