hlib

Adaptive Huffman Decoder (with LZSS)


Keywords
huffman, adaptive, lzss, decoder, bitstream
Install
npm install hlib@0.0.4

Documentation

AVG

Installation

$ npm i hlib --save

Usage

const { LZSS } = require('hlib');
const compressed = fs.readFileSync(`${__dirname}/test/data/compressed.bin`);
const lzss = new LZSS(compressed);
const deflated = lzss.expand();

That's it ;-)