dt

decompress-tarbz2

tar.bz2 plugin for decompress

Showing:

Popularity

Downloads/wk

506K

GitHub Stars

11

Maintenance

Last Commit

4yrs ago

Contributors

1

Package

Dependencies

5

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial