Compression for very small strings
Want to see pretty graphs? Log in now!
npm install smaz
|1||downloads in the last week|
|2||downloads in the last month|
|Last Published By|
|Version||1.0.0 last updated 2 years ago|
|Keywords||strings, compression, decompression|
See http://github.com/antirez/smaz for information on smaz and the algorithm itself.
Live Demo: http://personalcomputer.github.com/smaz.js/
var c = smaz.compress("string"); var u = smaz.decompress(c);
$ npm install smaz
How to use
var smaz = require("smaz"); var c = smaz.compress("string"); var u = smaz.decompress(c);
CREDITS AND LICENSE
Small was written by Salvatore Sanfilippo and is released under the BSD license. Check the COPYING file for more information. smaz.js was written by personalcomputer and is a derivative work also under the BSD license.