@eonasdan/lz-string
v1.0.3
Published
Compress and decompress string with javascript.
Downloads
19
Readme
String Compression
I forked matschik version which is a port of the original lz-string.
I reduced the redundant code and used rollup to produce both an ES6+ and UMD scripts
Install
$ npm install @eonasdan/lz-string
Example
import { compress, decompress } from '@eonasdan/lz-string'
const compressed = compress('hello world');
const decompressed = decompress(compressed);