lz-string
wasm-flate
lz-string | wasm-flate | |
---|---|---|
6 | 1 | |
4,167 | 466 | |
- | - | |
8.1 | 10.0 | |
6 months ago | almost 5 years ago | |
TypeScript | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lz-string
-
What Are Web Workers and How to Leverage Them for Optimized Frontend Performance
LZ-String Documentation
- LZ-based compression algorithm for JavaScript
- Partager l'état d'une application sans base de donnée
- Struggling to post ~30MB of data from JavaScript to a server
-
Secure localStorage data with high level of encryption and data compression
Compresion / Decompression using lz-string
-
How to implement save files and modding?
The really nice thing about JSON is that it's very compressible. I was saving my game's entire world state as JSON and ran up against the 5MB LocalStorage limits for Javascript pretty quick. When I brought in lz-string for compression I got 90% reduction in save sizes, and that's not even a particularly aggressive algorithm.
wasm-flate
-
Struggling to post ~30MB of data from JavaScript to a server
Theres some js based compression libs, but even more excitingly there are some wasm libs with near native performance like https://github.com/drbh/wasm-flate.
What are some alternatives?
secure-ls - :lock: Secure localStorage data with high level of encryption and data compression
crypto-js - JavaScript library of crypto standards.
name-the-gwent-card - In this mini-game, your goal is to name a random Gwent card from its illustration.
umd - UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere.
ESLint - Find and fix problems in your JavaScript code.
chai - BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
mocha - ☕️ simple, flexible, fun javascript test framework for node.js & the browser
template-playground - Web Playground for TemplateMark templates
particles.js - A lightweight JavaScript library for creating particles
react-webworker - ⚙️ Communicate with a Web Worker from React