Awesome
lzstring
Dart implementation of lz-string compression algorithm
The original JavaScript version is here
Usage
Future<String?> compressedString = LZString.compress('Some String');
Future<String?> decompressedString = LZString.decompress(compressedString);
String? compressedStringSync = LZString.compressSync('Some String');
String? decompressedStringSync = LZString.decompressSync(compressedStringSync);
For more usage, please read the exapmle in example folder
Running test
pub run test test/lz_string.dart