lzc
a simple wrapper around lz-string for compressing and decompressing strings. this wrapper allows downstream consumers reliably use the same lz-string
version across various components.
usage
import lzc from '@ededejr/lzc';
const compressor = lzc('base64');
const input = 'a very long string';
const compressed = compressor.compress(input);
const decompressed = compressor.decompress(compressed);