Skip to content

clearlydefined/decompress-unzip

 
 

Repository files navigation

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

About

zip plugin for decompress

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%