jakearchibald/idb
IndexedDB, but with promises observed · 2026-08-28
Health v2 · maintenance only
41/100
- Activity 20
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4045
- days_rel: n/a
- days_push: 483
- n_releases_24m: 0
Adoption not part of the score
7399 stars · 383 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A tiny (~1.19kB) TypeScript library that wraps the browser's IndexedDB API with promises and small usability improvements while mostly mirroring the native API. It provides enhanced openDB/deleteDB helpers, transaction and cursor enhancements, and async iterator support for modern browsers.
Use cases
- store data in the browser with IndexedDB without callback hell
- use IndexedDB with async/await and promises
- manage client-side database schema upgrades
- iterate over IndexedDB cursors with async iterators
- build offline-first web apps with local storage
- replace localStorage with a structured key-value database
When to choose
- you want a promise-based, near-1:1 wrapper over native IndexedDB
- you need a tiny dependency with minimal abstraction
- you want TypeScript types for IndexedDB
- you need fine control over transactions, cursors, and upgrades
When to avoid
- you need a full database abstraction with queries, relations, or ORM features
- you must support Internet Explorer or legacy browsers
- you need storage that works outside the browser (Node.js, mobile native)
- you prefer a higher-level API like Dexie with rich querying
Facets
library · maturity stable
database database-driver developer-tools web-development frontend databases developer-tools browser cross-platform indexeddb promises async-iterators client-side-storage typescript browser-storage
2 sources
- readme: https://github.com/jakearchibald/idb · fetched 2026-08-28 · aa578466f7ea
- registry_npm: https://registry.npmjs.org/idb · fetched 2026-08-29 · 28430ce22b42
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jakearchibald/idb | main | 41 |
For agents
markdown · JSON · MCP: product_card(name="jakearchibald/idb")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem