Skip to content

kevva/decompress-bzip2

Repository files navigation

decompress-bzip2 Build Status

bzip2 decompress plugin

Install

$ npm install --save decompress-bzip2

Usage

const decompress = require('decompress');
const decompressBzip2 = require('decompress-bzip2');

decompress('unicorn.jpg.bz2', 'dist', {
	plugins: [
		decompressBzip2({path: 'unicorn.jpg'})
	]
}).then(() => {
	console.log('Files decompressed');
});

API

decompressBzip2()(input)

input

Type: Buffer

Buffer to decompress.

License

MIT © Kevin Mårtensson

About

bzip2 plugin for decompress

Resources

License

Stars

Watchers

Forks

Packages

No packages published