OSS Tanbou

manage browser data through a Promise-based IndexedDB API with typed tables

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
14,615
Primary language
TypeScript
License
Apache-2.0
Repository last updated
Sep 28, 2026
On this page

Overview

Dexie.js is a JavaScript and TypeScript wrapper around the browser-standard IndexedDB API. Applications declare a database schema and use Table, Collection, and WhereClause APIs for inserts, queries, updates, deletes, and bulk operations, with optional framework integrations such as React live queries.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Declare an IndexedDB schema and work through table APIs

Create a database with new Dexie(), define primary keys and indexes with version().stores(), and perform CRUD operations through Promise-based Table and Collection APIs.

Sources: [2]

Use bulk operations and framework integrations for local data

Bulk APIs such as bulkAdd and bulkPut reduce per-record overhead, while React applications can use useLiveQuery to reflect IndexedDB changes in the UI. The README also links tutorials for Vue, Svelte, Angular, and vanilla JavaScript.

Sources: [2]

Best fit

Fits offline-first web applications and structured local caches

It is useful for PWAs, Electron, Capacitor, and browser applications that need searchable structured data stored locally through IndexedDB.

Sources: [2]

Before adoption

Browser storage policies and schema migrations still apply

Dexie.js wraps IndexedDB rather than replacing browser storage rules, so quotas, eviction, and browser-specific storage behavior remain relevant. Schema changes also require deliberate versioning and migration of existing data.

Sources: [2]

Do not start new projects on the legacy sync addons

The README marks dexie-observable and dexie-syncable as legacy and no longer maintained. New synchronization designs should use a current approach such as Dexie Cloud when appropriate.

Sources: [2][3]

Official sources

  1. [1]dexie/Dexie.js repository(2026-09-30)
  2. [2]Dexie.js README(2026-09-30)
  3. [3]Dexie v4.4.6 release(2026-09-30)
  4. [4]Dexie.js Apache-2.0 license(2026-09-30)
Supplemental curator note

Dexie makes IndexedDB schema, queries, and bulk operations easier to manage than the raw API. With v4.4.6 as the current stable baseline, browser storage policies and schema migration still remain application responsibilities.

Try it in 3 steps

  1. 1

    Install Dexie

    Add Dexie to an existing web project using the npm command documented in the README.

    npm install dexie
  2. 2

    Declare an IndexedDB schema

    After importing Dexie from the package, define the database name, primary key, and indexes.

    const db = new Dexie('FriendDatabase'); db.version(1).stores({ friends: '++id, age' });
  3. 3

    Insert data and run a query

    Use the Table API to insert one record and verify an indexed query.

    await db.friends.add({ name: 'Alice', age: 21 }); const rows = await db.friends.where('age').below(30).toArray();
Check the official README

Growth

Growth trends · Last 30 days

14,615 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
8
Open PRs
20

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • javascript
  • indexeddb
  • database
  • offline-storage
  • offline
  • storage
Stars
14,615
Forks
712
Watchers
114
Open issues
576
Contributors
101
Owner type
Organization
Primary language
TypeScript
License
Apache-2.0
Repository last updated
Sep 28, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?