Socket
Book a DemoInstallSign in
Socket

decompress-bzip2

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decompress-bzip2

decompress bzip2 plugin

latest
Source
npmnpm
Version
4.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

bz2

FAQs

Package last updated on 22 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts