hlib

Adaptive Huffman Decoder (with LZSS)

Usage no npm install needed!

<script type="module">
  import hlib from 'https://cdn.skypack.dev/hlib';
</script>

README

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 ;-)