# decompress-bzip2

> decompress bzip2 plugin

Latest version **4.0.0** (published 2017-05-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install decompress-bzip2
pnpm add decompress-bzip2
yarn add decompress-bzip2
bun add decompress-bzip2
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2017-05-22 |
| First published | 2014-06-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Kevin Mårtensson |
| Maintainers | kevva |
| Keywords | bz2, bzip2, decompress, decompressplugin, extract |

## Links

- npm: https://www.npmjs.com/package/decompress-bzip2
- Repository: https://github.com/kevva/decompress-bzip2
- Homepage: https://github.com/kevva/decompress-bzip2#readme
- Issues: https://github.com/kevva/decompress-bzip2/issues
- npm.io page: https://npm.io/package/decompress-bzip2

## Dependencies (2)

- [file-type](https://npm.io/package/file-type.md) ^4.3.0
- [seek-bzip](https://npm.io/package/seek-bzip.md) ^1.0.5

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 4.0.0 (latest) — 2017-05-22
- 3.0.0 — 2015-03-09
- 2.0.1 — 2014-09-16
- 2.0.0 — 2014-09-13
- 1.0.1 — 2014-08-28
- 1.0.0 — 2014-08-23
- 0.1.3 — 2014-06-13
- 0.1.2 — 2014-06-13
- 0.1.1 — 2014-06-13
- 0.1.0 — 2014-06-13

## README

# decompress-bzip2 [![Build Status](https://travis-ci.org/kevva/decompress-bzip2.svg?branch=master)](https://travis-ci.org/kevva/decompress-bzip2)

> bzip2 decompress plugin


## Install

```
$ npm install --save decompress-bzip2
```


## Usage

```js
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](https://github.com/kevva)

---
_Source: https://npm.io/package/decompress-bzip2 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
