Kevin 29b9a0c50c clean && clean html base 4 tahun lalu
..
node_modules 29b9a0c50c clean && clean html base 4 tahun lalu
index.js 29b9a0c50c clean && clean html base 4 tahun lalu
license 29b9a0c50c clean && clean html base 4 tahun lalu
package.json 29b9a0c50c clean && clean html base 4 tahun lalu
readme.md 29b9a0c50c clean && clean html base 4 tahun lalu

readme.md

decompress-unzip Build Status

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