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

decompress-tarbz2 Build Status

tar.bz2 decompress plugin

Install

$ npm install decompress-tarbz2

Usage

const decompress = require('decompress');
const decompressTarbz = require('decompress-tarbz2');

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

API

decompressTarbz()(input)

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

input

Type: Buffer Stream

Buffer 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 (5)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org