@xhmikosr/decompress-targz
decompress tar.gz plugin
Last updated 9 months ago by xhmikosr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @xhmikosr/decompress-targz 
SYNC missed versions from official npm registry.

decompress-targz npm version CI Status

tar.gz decompress plugin

Install

npm install @xhmikosr/decompress-targz

Usage

import decompress from '@xhmikosr/decompress';
import decompressTargz from '@xhmikosr/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

  • 9.0.1                                ...           latest (9 months ago)

8 Versions

  • 9.0.1                                ...           9 months ago
  • 9.0.0                                ...           9 months ago
  • 8.1.0                                ...           a year ago
  • 8.0.1                                ...           3 years ago
  • 8.0.0                                ...           3 years ago
  • 7.0.0                                ...           3 years ago
  • 6.0.0                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Total 20
Today 0
This Week 0
This Month 12
Last Day 0
Last Week 1
Last Month 4
Dependencies (3)
Dev Dependencies (3)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE