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();
Adaptive Huffman Decoder (with LZSS)
<script type="module">
import hlib from 'https://cdn.skypack.dev/hlib';
</script>
$ npm i hlib --save
const { LZSS } = require('hlib');
const compressed = fs.readFileSync(`${__dirname}/test/data/compressed.bin`);
const lzss = new LZSS(compressed);
const deflated = lzss.expand();