localForage
💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API. (by localForage)
Dexie.js
A Minimalistic Wrapper for IndexedDB (by dexie)
Our great sponsors
localForage | Dexie.js | |
---|---|---|
27 | 33 | |
24,255 | 10,729 | |
1.0% | 2.5% | |
0.0 | 9.2 | |
4 months ago | 13 days ago | |
JavaScript | JavaScript | |
Apache License 2.0 | 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.
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 ?
Dexie.js
Posts with mentions or reviews of Dexie.js.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-30.
-
Ask HN: Wa-SQLite vs. Dexie, 2024
The word on the street is that https://github.com/rhashimoto/wa-sqlite is nearly production ready, closing in on the neat 1.0.0 release, with its IDBBatchAtomic engine highly recommended at https://www.powersync.com/blog/sqlite-persistence-on-the-web. You can try out the benchmark https://rhashimoto.github.io/wa-sqlite/demo/benchmarks.html.
And the other contestant is Dexie, stable https://dexie.org/.
If you were to branch into a new venture today, which one would you pick? And why?
- Dexie.js – Minimalistic IndexedDB Wrapper
- Dexie.js: A Minimalistic Wrapper for IndexedDB
- Koji wrapper koristiti za IndexedDB?
-
A comprehensive guide to making your web app feel native
That said, there are some great ways to wrap IndexedDB to make it easier to work with. Since I’m writing this article I’ll toss in my local-first framework Verdant, which can be used without the sync features as a standalone IndexedDB-powered database with a type-safe schema and deployable data migrations. For a lighter-weight approach, maybe check out Dexie.
-
Best way to store persistent data?
Using IndexedDB. I have heard its pretty cumbersome to use. There are wrappers like Dexie.js but I am not sure if it works seamlessly with Tauri or if it is the correct thing for my use case.
-
Database in Chrome Extension?
I use IndexedDB, specifically the idb library (https://github.com/jakearchibald/idb), or Dexie.js (https://dexie.org/) if you are more novice. This works great for large sets of data. For smaller amounts, Chrome Storage API will do.
-
IndexedDB on steroids using Dexie.js
To make things easier, Dexie.js provides a straightforward and simplified process of creating databases, storing data, updating data and database migrations, etc., over the top of indexedDB.
-
Better Ways To Handle Data Storage on The Web Client
If you are just looking for a solution for your IndexedDB needs I find Dexie to be one of the best but depending on other needs, the others in the list are also good to consider.
What are some alternatives?
When comparing localForage and Dexie.js you can also consider the following projects:
store.js - Cross-browser storage for all use cases, used across the web.
PouchDB - :koala: - PouchDB is a pocket-sized database.
WatermelonDB - 🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️
svelte-persisted-store - A Svelte store that persists to localStorage
idb - IndexedDB, but with promises
Cookies - JavaScript Client-Side Cookie Manipulation Library
sql.js - A javascript library to run SQLite on the web.
LokiJS - javascript embeddable / in-memory database
pelmodoro - Pomodoro app made with Elm