decompress-targz
decompress tar.gz plugin
Last updated 8 years ago by kevva .
MIT · Repository · Bugs · Original npm
$ cnpm install decompress-targz 
SYNC missed versions from official npm registry.

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

Current Tags

  • 4.1.1                                ...           latest (8 years ago)

2 Versions

  • 3.1.0                                ...           10 years ago
  • 4.1.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org