decompress-gz

decompress gz plugin

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
decompress-gz
210.0.16 years ago6 years agoMinified + gzip package size for decompress-gz in KB

Readme

decompress-gz Build Status
gz decompress plugin

Install

$ npm install --save decompress-gz

Usage

const decompress = require('decompress');
const decompressGz = require('decompress-gz');

decompress('unicorn.gz', 'dist', {
	plugins: [
		decompressGz()
	]
}).then(() => {
	console.log('Files decompressed');
});

API

decompressGz()(input)

Returns both a Promise for a Buffer.

input

Type: Buffer
Buffer to decompress.

License

MIT © Carlos Carmona