import init, { compressToUTF16, decompressFromUTF16 } from 'lz-string-wasm-vn/web'; await init(); const data = "This feature will replace some internal maps' hashers with rustc-hash, boosting performance at the cost of not using a DOS-resistant hasher." const compressed = compressToUTF16(data); const decompressed = decompressFromUTF16(compressed); console.log("data: ", data); console.log("compressed: ", compressed); console.log("decompressed: ", decompressed);- Notifications
You must be signed in to change notification settings - Fork 0
LZ-String compression for WebAssembly
License
ndtao2020/lz-string-wasm-vn
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
LZ-String compression for WebAssembly
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published