LZ-based compression algorithm
npm install @immutabl3/lz-stringlz-string
=========
LZ-based compression algorithm
A esmodule port of pieroxy/lz-string with a ton of (benchmarked) optimizations and a smaller file size
``shell`
$ npm install @immutabl3/lz-string
Home page for this program with examples, documentation and a live demo: http://pieroxy.net/blog/pages/lz-string/index.html
``
lz-string: compress x 374 ops/sec ±1.20% (82 runs sampled)
@immutabl3/lz-string: compress x 411 ops/sec ±1.40% (83 runs sampled)
lz-string: decompress x 1,419 ops/sec ±0.21% (96 runs sampled)
@immutabl3/lz-string: decompress x 83,761,295 ops/sec ±0.26% (97 runs sampled)
As of version 0.0.1 the payload added to your app is rather small. Served using gzip compression, lz-string will add less than 1k to your total bundle size: