idb-keyval
secure-ls
Our great sponsors
idb-keyval | secure-ls | |
---|---|---|
5 | 4 | |
2,590 | 636 | |
- | - | |
0.6 | 0.0 | |
9 days ago | 5 months ago | |
TypeScript | JavaScript | |
GNU General Public License v3.0 or later | 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.
idb-keyval
-
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.
- 瀏覽器上的儲存空間:IndexedDB
-
What makes a package useless, or "When should I reinvent the wheel"?
Preference for a different package that covers the same use case. For example, instead of a wrapper for the somewhat outdated localStorage and sessionStorage APIs such as store2, you could use the excellent idb-keyval, which wraps the IndexedDB API instead, giving significant performance and other advantages.
-
How to Cache Some Static Data
idb-keyval is an easy to use wrapper for IndexedDB https://github.com/jakearchibald/idb-keyval
-
`export default thing` behaves differently to `export { thing as default }`
I'm not sure this is clear cut. Take idb-keyval for instance. The exported names are get and set. If someone was import them individually I'd totally understand why they might them different names to make the context clear. Eg:
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)
What are some alternatives?
idb - IndexedDB, but with promises
crypto-js - JavaScript library of crypto standards.
localForage - 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
lz-string - LZ-based compression algorithm for JavaScript
javascript - JavaScript Style Guide
umd - UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere.
svelte-persisted-store - A Svelte store that persists to localStorage
link-lock - Password-protect URLs using AES in the browser; create hidden bookmarks without a browser extension
Dexie.js - A Minimalistic Wrapper for IndexedDB
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.
html-vault - Store a secret securely in a standalone HTML file.