0.1.1 • Published 2 years ago

@ededejr/lzc v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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);

background

inspirations