Skip to content

Dart implementation of lz-string compression algorithm

License

Notifications You must be signed in to change notification settings

skipness/lzstring-dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lzstring

Pub

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

About

Dart implementation of lz-string compression algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages