PouchDB
Dexie.js
Our great sponsors
PouchDB | Dexie.js | |
---|---|---|
8 | 33 | |
16,289 | 10,764 | |
0.5% | 2.8% | |
9.3 | 9.2 | |
4 days ago | 15 days ago | |
JavaScript | JavaScript | |
Apache License 2.0 | Apache License 2.0 |
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.
PouchDB
-
Recommend an embedded database for use in Electron app
I have used pouchdb as an embedded db for electron - API and performance were not the best, but that was the price to pay for the requirements.
-
Learn PWA
I love PouchDB, it's incredible, however I fear its a project that is loosing it momentum (I do think it has pick up a little over the last year though).
It has a very aggressive stale bot closing issues (this search shows 700 closed stale issues https://github.com/pouchdb/pouchdb/issues?q=is%3Aissue+stale...), some which I really don't think it should have. It gives the impression of a very active but stable platform that I don't necessarily think is accurate.
For example I found a hash collision bug while working on a side project, the issue was closed as stale (https://github.com/pouchdb/pouchdb/issues/8257)
-
A performant way to use PouchDB@7 on React Native in 2022
Fortunately, PouchDB is still maintained, and recently they've shipped v7.3.0 🎉. Much appreciated the community effort.
- [AskJS] Searching for a frontend ORM library
-
Where do Nomie 5 files live within the Chrome Android App? Looking for redundancy vs local
Sucks that couch doesn't work well for sync :( I was hoping that I could set up sync between my laptop and phone without a server since those are the two primary devices I use. Is this the issue with deletion you were talking about?
- An observable Database for the Web
-
PouchDB.find is not a function
Thankfully the community helped me figure this out. You can read about detail on the issue here at github .
-
[AskJS] Suggestions on good open source projects to help
Maybe PouchDB.
Dexie.js
-
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?
localForage - 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
WatermelonDB - 🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️
RxDB - A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
idb - IndexedDB, but with promises
LokiJS - javascript embeddable / in-memory database
sql.js - A javascript library to run SQLite on the web.
store.js - Cross-browser storage for all use cases, used across the web.
js-cookie - A simple, lightweight JavaScript API for handling browser cookies
pelmodoro - Pomodoro app made with Elm