@xhmikosr/decompress-unzip
v7.0.0
Published
decompress zip plugin
Downloads
1,248,035
Maintainers
Readme
decompress-unzip
zip decompress plugin
Install
npm install @xhmikosr/decompress-unzip
Usage
import decompress from '@xhmikosr/decompress';
import decompressUnzip from '@xhmikosr/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