Skip to content
tar.gz plugin for decompress
JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fixtures Meta tweaks Jul 27, 2017
.editorconfig Meta tweaks Jul 27, 2017
.gitattributes Meta tweaks Jul 27, 2017
.gitignore Meta tweaks Jul 27, 2017
.npmrc Meta tweaks Jul 27, 2017
.travis.yml Meta tweaks Jul 27, 2017
index.js Meta tweaks Jul 27, 2017
license Meta tweaks Jul 27, 2017
package.json 4.1.1 Jul 27, 2017
readme.md Meta tweaks Jul 27, 2017
test.js Skip gzip error test on Node.js v4 Jul 27, 2017

readme.md

decompress-targz Build Status

tar.gz decompress plugin

Install

$ npm install decompress-targz

Usage

const decompress = require('decompress');
const decompressTargz = require('decompress-targz');

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

API

decompressTargz()(input)

Returns both a Promise for a Buffer and a Duplex stream.

input

Type: Buffer Stream

Buffer or stream to decompress.

License

MIT © Kevin Mårtensson

You can’t perform that action at this time.