lz-string
umd
lz-string | umd | |
---|---|---|
6 | 7 | |
4,167 | 7,421 | |
- | 0.2% | |
8.1 | 0.0 | |
6 months ago | about 2 months ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
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.
umd
-
A Complete Beginners Guide to JavaScript Modules (2022 Noobs are Welcome)
Check out this fascinating GitHub project for more examples of UMD formats.
-
JavaScript Module Formats and Tools
UMD (Universal Module Definition) is a set of tricky patterns to make your code file work in multiple environments.
-
Secure localStorage data with high level of encryption and data compression
Exports in a umd format so the library works everywhere.
-
JS Modules
A module format is the syntax we use to define a module. Different module formats such AMD, CommonJS, UMD and System.register have emerged in the past and a native module format is now available since ES6.
-
Universal Js Module Loader Cheat Sheet
Supports circular references
-
What is Output — Webpack 5
To make UMD build available on both browsers and Node.js, set globalObject option to 'this'.
-
TypeScript: Spelling out tsconfig. Part 1
A modular system that your compiled application will use. You can choose: None, CommonJS, AMD, System, UMD, ES6, ES2015, ES2020 or ESNext. For backend apps/packages ES6 or CommonJS is suitable depending on Node.js version you want to support. For frontend apps ES6 is also suitable. And for support of older browsers and isomorphic applications, UMD is definitely worth choosing.
What are some alternatives?
secure-ls - :lock: Secure localStorage data with high level of encryption and data compression
What-is-Entry-Webpack-5 - What is Entry - Webpack 5
crypto-js - JavaScript library of crypto standards.
systemjs - Dynamic ES module loader
wasm-flate - 🗜️⚡WebAssembly powered compression and decompression in the browser and server. Supports GZIP, ZLIB and DEFLATE
name-the-gwent-card - In this mini-game, your goal is to name a random Gwent card from its illustration.
ESLint - Find and fix problems in your JavaScript code.
amdjs-api - Houses the Asynchronous Module Definition API
chai - BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
es-module-loader - Polyfill for the ES Module Loader