# dexie/Dexie.js

A Minimalistic Wrapper for IndexedDB

Repository: https://github.com/dexie/Dexie.js
Canonical: https://ross.abutalabs.com/products/dexiejs
Homepage: https://dexie.org
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: javascript, indexeddb, database, offline-storage, offline, storage
Last push: 2026-08-24T12:53:14+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 4571, "days_push": 9, "days_rel": 19, "gap_med": 56.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14550, forks 711 (observed 2026-08-28T04:11:07.219595+00:00)

## What it is
Dexie.js is a minimalistic, high-performance TypeScript wrapper library for IndexedDB, the standard database built into browsers. It provides a friendly query API, works across web, Electron, Capacitor, and React Native, and offers an optional Dexie Cloud add-on for sync, auth, and real-time collaboration.

## Use cases
- store data offline in a browser app
- query IndexedDB without writing low-level code
- build a PWA with local-first storage
- add client-side persistence to a React or Vue app
- sync local browser data across devices
- build a desktop app with local database in Electron
- cache API responses for offline use

## When to choose
- you need structured client-side storage in the browser with a clean query API
- you want offline-first or PWA functionality without a backend
- you need a battle-tested IndexedDB library that works across browsers and frameworks
- you want optional real-time sync and auth via Dexie Cloud

## When to avoid
- you need a server-side database or SQL queries
- your data lives primarily on a backend and you only need simple key-value caching
- you require relational joins and complex transactions beyond IndexedDB's model
- you need a native mobile database like SQLite rather than browser storage

## Facets
- artifact type: library
- maturity: stable
- function: database, orm, caching
- domain: web-development, frontend, databases, cross-platform
- platform: browser, cross-platform
- tags: indexeddb, offline-first, local-storage, pwa, react-hooks, sync, typescript, nodejs, electron, mobile

## Member repositories
- dexie/Dexie.js (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:07.219595+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:12:29.743684+00:00, confidence not recorded.
  - readme: https://github.com/dexie/Dexie.js (fetched 2026-08-28T04:11:07.219595+00:00, sha 839e626963b7)
  - homepage: https://dexie.org (fetched 2026-08-29T08:06:12.437137+00:00, sha e30bf1c2289b)
  - site_page: https://dexie.org/docs (fetched 2026-08-29T08:06:12.450193+00:00, sha dabb6b9dd435)
  - site_page: https://dexie.org/docs/cloud/quickstart (fetched 2026-08-29T08:06:12.452237+00:00, sha bf82d397beeb)
  - site_page: https://dexie.org/pricing (fetched 2026-08-29T08:06:12.447191+00:00, sha ac6e9bf1d0eb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
