Bolshakova Anna ab21a11190 lab 3 semanas atrás
..
node_modules ab21a11190 lab 3 semanas atrás
index.js ab21a11190 lab 3 semanas atrás
license ab21a11190 lab 3 semanas atrás
package.json ab21a11190 lab 3 semanas atrás
readme.md ab21a11190 lab 3 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