bz2
bzip2 library for JavaScript
; const output = ;
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
.