# jakearchibald/idb-keyval

A super-simple-small promise-based keyval store implemented with IndexedDB

Repository: https://github.com/jakearchibald/idb-keyval
Canonical: https://ross.abutalabs.com/products/idb-keyval
Language: TypeScript
License: NOASSERTION
License Family: other
Last push: 2026-07-08T10:34:33+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 91, release rhythm 35, longevity 100
- inputs: {"age_days": 3674, "days_push": 56, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3231, forks 150 (observed 2026-08-28T04:07:50.155356+00:00)

## What it is
A tiny promise-based key-value store library built on top of IndexedDB for browsers. It offers a minimal get/set/del API in under 600 bytes, storing any structured-clonable value.

## Use cases
- store data in the browser without localStorage limits
- persist blobs and structured objects client-side
- simple offline storage for a web app
- replace localStorage with async promise-based storage
- cache API responses in the browser

## When to choose
- you need a tiny, tree-shakeable IndexedDB wrapper with a simple keyval API
- you want to store structured-clonable values like Blobs and Dates
- your target browsers have working IndexedDB support

## When to avoid
- you need indexes, iteration, or complex queries - use the idb library instead
- you must support old browsers with broken IndexedDB - use localForage
- you need a full database with relations or SQL

## Facets
- artifact type: library
- maturity: stable
- function: database, caching
- domain: web-development, frontend, databases
- platform: browser
- tags: indexeddb, key-value-store, promise-based, localstorage-alternative, tree-shakeable, typescript, javascript, nodejs

## Member repositories
- jakearchibald/idb-keyval (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:50.155356+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-30T07:24:39.075076+00:00, confidence not recorded.
  - readme: https://github.com/jakearchibald/idb-keyval (fetched 2026-08-28T04:07:50.155356+00:00, sha aee548bac819)
  - registry_npm: https://registry.npmjs.org/idb-keyval (fetched 2026-08-29T09:37:46.395581+00:00, sha baaa8e768965)
- Data as of 2026-08-30T08:39:29.467469+00:00.
