# louischatriot/nedb

The JavaScript Database, for Node.js, nw.js, electron and the browser

Repository: https://github.com/louischatriot/nedb
Canonical: https://ross.abutalabs.com/products/nedb
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2025-05-15T20:08:26+00:00

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

## Adoption (not part of the score)
Stars 13534, forks 1013 (observed 2026-08-28T04:11:03.474303+00:00)

## What it is
NeDB is a pure-JavaScript embedded database for Node.js, Electron, nw.js, and the browser, offering persistent or in-memory storage with an API that is a subset of MongoDB's. It requires no binary dependencies and stores data in files or memory.

## Use cases
- embed a lightweight nosql database in an electron app
- store  documents locally in node.js without a database server
- use a mongodb-like query api in the browser
- prototype apps with a simple file-based datastore
- add persistent storage to nw.js desktop apps

## When to choose
- you need an embedded, zero-dependency database with MongoDB-style queries
- you're building a small Electron or browser app needing local persistence
- you want a simple datastore for prototyping or small datasets

## When to avoid
- you need a maintained library with security fixes - the project is explicitly unmaintained
- you need high concurrency, replication, or large-scale production workloads
- you need full MongoDB feature coverage

## Facets
- artifact type: library
- maturity: abandoned
- function: database, serialization
- domain: databases, developer-tools, web-development
- platform: browser, cross-platform
- tags: embedded-database, mongodb-like-api, nosql, electron, in-memory-database, javascript, nodejs

## Member repositories
- louischatriot/nedb (main) score 42

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:03.474303+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:13:14.283666+00:00, confidence not recorded.
  - readme: https://github.com/louischatriot/nedb (fetched 2026-08-28T04:11:03.474303+00:00, sha 6001b187c677)
  - registry_npm: https://registry.npmjs.org/nedb (fetched 2026-08-29T08:08:17.402135+00:00, sha e48cbaecb55e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
