Skip to content

SheetJS/bz2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, test)

  • data: Uint8Array - The data to be decompressed.
  • test: boolean - Verify integrity of compressed data. Default: false.
  • Returns: Uint8Array

Decompresses data.