mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2024-11-25 03:36:08 -07:00
.. | ||
node_modules | ||
index.js | ||
license | ||
package.json | ||
readme.md |
decompress-unzip
zip decompress plugin
Install
$ npm install --save decompress-unzip
Usage
const decompress = require('decompress');
const decompressUnzip = require('decompress-unzip');
decompress('unicorn.zip', 'dist', {
plugins: [
decompressUnzip()
]
}).then(() => {
console.log('Files decompressed');
});
API
decompressUnzip()(buf)
buf
Type: Buffer
Buffer to decompress.
License
MIT © Kevin Mårtensson