huffman.js

0.2.0 • Public • Published

huffman.js

npm version build status npm downloads

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

MIT

Copyright (c) 2015-2016 Recharts Group

Readme

Keywords

none

Package Sidebar

Install

npm i huffman.js

Weekly Downloads

7

Version

0.2.0

License

ISC

Last publish

Collaborators

  • hzongquan