# localForage/localForage

💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.

Repository: https://github.com/localForage/localForage
Canonical: https://ross.abutalabs.com/products/localforage
Homepage: https://localforage.github.io/localForage
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: localforage, localstorage, javascript, offline, storage, indexeddb, websql
Last push: 2024-07-30T20:27:14+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4690, "days_push": 764, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 25809, forks 1290 (observed 2026-08-28T04:11:38.672046+00:00)

## What it is
localForage is a JavaScript storage library that wraps IndexedDB, WebSQL, or localStorage behind a simple localStorage-like async API. It improves offline data persistence in web apps with automatic driver fallback.

## Use cases
- store data offline in a web app
- use indexeddb with a simple localStorage-like api
- persist user data in the browser
- cache app data for offline use
- async key-value storage in javascript

## When to choose
- you need offline storage in the browser with broad fallback support
- you want a localStorage-like API but with async, larger-capacity storage

## When to avoid
- you need a full database with queries and relations
- you only target modern browsers and prefer the native IndexedDB API

## Facets
- artifact type: library
- maturity: maintenance
- function: database, caching
- domain: web-development, frontend, databases
- platform: browser
- tags: offline-storage, indexeddb, localstorage, websql, key-value-store, nodejs

## Member repositories
- localForage/localForage (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:38.672046+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-29T16:55:58.606387+00:00, confidence not recorded.
  - readme: https://github.com/localForage/localForage (fetched 2026-08-28T04:11:38.672046+00:00, sha bac0b863d1e8)
  - homepage: https://localforage.github.io/localForage (fetched 2026-08-29T07:52:47.451458+00:00, sha a7c9e8b6df80)
  - registry_npm: https://registry.npmjs.org/localforage (fetched 2026-08-29T07:52:47.454738+00:00, sha f35dcf7fe157)
- Data as of 2026-08-30T08:39:29.467469+00:00.
