secure-ls
lz-string
Our great sponsors
secure-ls | lz-string | |
---|---|---|
4 | 5 | |
634 | 3,892 | |
- | - | |
0.0 | 8.7 | |
5 months ago | 3 days ago | |
JavaScript | TypeScript | |
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.
secure-ls
- HELP: How do you secure REST APIs for modern front-ends?
-
SvelteKit: Use local database in the browser
idb-keyval is a great library for storing simple data in the browser using IndexedDB. secure-ls is great for storing data securely in Local Storage in the browser. There is also svelte-local-storage-store for saving and retrieving data to/from Local Storage in the browser easily with just a svelte store.
-
Secure localStorage data with high level of encryption and data compression
By https://github.com/softvar/secure-ls
- Something weird in my local storage (Vuex)
lz-string
- 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.
What are some alternatives?
crypto-js - JavaScript library of crypto standards.
wasm-flate - 🗜️⚡WebAssembly powered compression and decompression in the browser and server. Supports GZIP, ZLIB and DEFLATE
umd - UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere.
link-lock - Password-protect URLs using AES in the browser; create hidden bookmarks without a browser extension
ESLint - Find and fix problems in your JavaScript code.
hat.sh - Encrypt and Decrypt files securely in your browser.
Hemmelig.app - Keep your sensitive information out of chat logs, emails, and more with encrypted secrets.
chai - BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
html-vault - Store a secret securely in a standalone HTML file.
mocha - ☕️ simple, flexible, fun javascript test framework for node.js & the browser