bzip2 for JavaScript
npm install bz2bzip2 library for JavaScript
``js
import { decompress } from 'bz2';
const output = decompress(input);
`
Available from the npm registry as bz2@sheetjs/bz2
and from the GitHub registry as .
Try out the demo.
: Uint8Array - The data to be decompressed.
* crc: boolean - Check data using CRC32. Default: true.
* Returns: Uint8ArrayDecompresses
data`.