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.
decompress(data, crc)data: Uint8Array - The data to be decompressed.crc: boolean - Check data using CRC32. Default: true.Uint8ArrayDecompresses data.
© 2010 - cnpmjs.org x YWFE | Home | YWFE