bz2

1.0.1 • Public • Published

bz2

bzip2 library for JavaScript

import { decompress } from 'bz2';
 
const output = decompress(input);

Available from the npm registry as bz2 and from the GitHub registry as @sheetjs/bz2.

Try out the demo.

API

decompress(data, crc)

  • data: Uint8Array - The data to be decompressed.
  • crc: boolean - Check data using CRC32. Default: true.
  • Returns: Uint8Array

Decompresses data.

Readme

Keywords

none

Package Sidebar

Install

npm i bz2

Weekly Downloads

312

Version

1.0.1

License

MIT

Unpacked Size

16.1 kB

Total Files

5

Last publish

Collaborators

  • sheetjs
  • snek