idb-keyval
A super-simple-small promise-based keyval store implemented with IndexedDB (by jakearchibald)
localForage
💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API. (by localForage)
Our great sponsors
idb-keyval | localForage | |
---|---|---|
5 | 27 | |
2,590 | 24,255 | |
- | 1.0% | |
0.6 | 0.0 | |
9 days ago | 4 months ago | |
TypeScript | JavaScript | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of idb-keyval.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-26.
-
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:
localForage
Posts with mentions or reviews of localForage.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-23.
-
How to get core.async to play well with IndexedDB
Not really an answer but have you looked into https://github.com/localForage/localForage
-
I need help about what is my problem and how to google it
I may not be pointing you in the right direction but, please read about [IndexDB storage](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB\_API) method and packages like [localForage](https://localforage.github.io/localForage/) that use it under the hood.
-
Better Ways To Handle Data Storage on The Web Client
LocalForage: this is a wrapper around IndexedDB, WebSQL, LocalStorage, and SessionStorage with a way to define more interfaces (called drivers) *for additional storage solutions. It does a great job handling all your serialization needs, it is **asynchronous **and handles a large set of data types. Its **API resembles Web Storage API* and it is ridiculously simple to learn.
-
SvelteKit: Use local database in the browser
Depending on what kind of storage requirements you have, LocalForage might be a good fit. It provides a unified API to access WebSQL, indexedDB or localStorage.
- How to use Local Forage?!
-
Storing JSON data in project or fetching every time?
I find localForage is pretty helpful for this stuff https://github.com/localForage/localForage
-
[AskJS] Simple javascript database that can replace local storage?
localForage (https://localforage.github.io/localForage/) mirrors localStorage syntax, but uses IndexedDB in the background. If that's not supported, it uses WebSQL and then LocalStorage
-
Experienced JavaScript Developer Meme
This is why we have localForage.
- Where should I store images ?
What are some alternatives?
When comparing idb-keyval and localForage you can also consider the following projects:
idb - IndexedDB, but with promises
Dexie.js - A Minimalistic Wrapper for IndexedDB
secure-ls - :lock: Secure localStorage data with high level of encryption and data compression
store.js - Cross-browser storage for all use cases, used across the web.
javascript - JavaScript Style Guide
PouchDB - :koala: - PouchDB is a pocket-sized database.
svelte-persisted-store - A Svelte store that persists to localStorage
Cookies - JavaScript Client-Side Cookie Manipulation Library
LokiJS - javascript embeddable / in-memory database
WatermelonDB - 🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️
idb-keyval vs idb
localForage vs Dexie.js
idb-keyval vs secure-ls
localForage vs store.js
idb-keyval vs javascript
localForage vs PouchDB
idb-keyval vs svelte-persisted-store
localForage vs svelte-persisted-store
idb-keyval vs Dexie.js
localForage vs Cookies
localForage vs LokiJS
localForage vs WatermelonDB