Bakhtina Sofya b84cb877be 1st comm há 2 semanas atrás
..
node_modules b84cb877be 1st comm há 2 semanas atrás
index.js b84cb877be 1st comm há 2 semanas atrás
license b84cb877be 1st comm há 2 semanas atrás
package.json b84cb877be 1st comm há 2 semanas atrás
readme.md b84cb877be 1st comm há 2 semanas atrás

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