Bakhtina Sofya b84cb877be 1st comm 2 هفته پیش
..
node_modules b84cb877be 1st comm 2 هفته پیش
index.js b84cb877be 1st comm 2 هفته پیش
license b84cb877be 1st comm 2 هفته پیش
package.json b84cb877be 1st comm 2 هفته پیش
readme.md b84cb877be 1st comm 2 هفته پیش

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