0.2.0 • Published 7 years ago
huffman.js v0.2.0
huffman.js
install
$ npm i -S huffman.js
Usage
import compress, { deCompress } from 'huffman.js';
const result = compress(cipher, 2);
// cipher is printable
console.log(result.cipher, result.keys);
const cipher = deCompress(result);
License
Copyright (c) 2015-2016 Recharts Group