decompress-targz
decompress tar.gz plugin
Last updated 9 years ago by kevva .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ 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 (9 years ago)

15 Versions

  • 4.1.1                                ...           9 years ago
  • 4.1.0                                ...           9 years ago
  • 4.0.0                                ...           10 years ago
  • 3.1.0                                ...           11 years ago
  • 3.0.0                                ...           11 years ago
  • 2.1.0                                ...           11 years ago
  • 2.0.2                                ...           12 years ago
  • 2.0.1                                ...           12 years ago
  • 2.0.0                                ...           12 years ago
  • 1.0.3                                ...           12 years ago
  • 1.0.2                                ...           12 years ago
  • 1.0.1                                ...           12 years ago
  • 1.0.0                                ...           12 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 2
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (4)

Copyright 2013 - present © cnpmjs.org | Home |