Dexie.js
idb
Dexie.js | idb | |
---|---|---|
33 | 13 | |
10,764 | 6,051 | |
1.2% | - | |
9.2 | 5.2 | |
19 days ago | 5 months ago | |
JavaScript | TypeScript | |
Apache License 2.0 | ISC 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.
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.
idb
-
Typescript not identifying type implicitly from deeply nested value - limitation, or is my code wrong?
From this github issue and pr it seems to be a limitation with how union works in TypeScript.
-
How to get core.async to play well with IndexedDB
I've worked on a core async app that used indexeddb heavily, but instead of using the indexeddb apis directly I used https://github.com/jakearchibald/idb for a the promise API. Worked well.
-
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 wrapper suggestions for a NextJS app without hosted DB
This was also the library I landed on: Github link
-
SvelteKit: Use local database in the browser
I had good luck using IDB ( https://github.com/jakearchibald/idb ) It makes using IndexedDB easy.
-
New Release: Video Tutorial Collection
That entire chunk of code is copied from a library https://github.com/jakearchibald/idb
- How to explain stark difference in downloads of dexie and idb?
-
The modern way of setting up IndexedDB
So that kind of ends this simple setup. It's incredible how little help you're able to find online regarding all of this, so hopefully this will help myself in the future, and maybe some lost soul will stumble upon it as well. There's loads of other features that can be used, but I won't get into that right now. You can find more examples on Jake Archibald's library readme: https://github.com/jakearchibald/idb
-
A Future for SQL on the Web
I've had good experiences with
https://github.com/jakearchibald/idb
It's basically a promise-based version of the standard API.
-
`export default thing` behaves differently to `export { thing as default }`
Here is link number 1 - Previous text "idb"
What are some alternatives?
localForage - 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
CarChecker - A sample Blazor WebAssembly application that includes authentication, in-browser data storage, offline support, localization, responsive layouts, and more. For a video walkthrough, see this link:
PouchDB - :koala: - PouchDB is a pocket-sized database.
idb-keyval - A super-simple-small promise-based keyval store implemented with IndexedDB
WatermelonDB - 🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️
sql.js - A javascript library to run SQLite on the web.
lets-play-bitburner
store.js - Cross-browser storage for all use cases, used across the web.
certificate-transparency - Auditing for TLS certificates.
pelmodoro - Pomodoro app made with Elm
secure-ls - :lock: Secure localStorage data with high level of encryption and data compression