# typicaljoe/taffydb

TaffyDB - an open source JavaScript Database for your browser

Repository: https://github.com/typicaljoe/taffydb
Canonical: https://ross.abutalabs.com/products/taffydb
Homepage: http://taffydb.com
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-06-07T06:59:18+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 6340, "days_push": 817, "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 2208, forks 283 (observed 2026-08-28T04:06:26.101676+00:00)

## What it is
TaffyDB is an open-source JavaScript library providing in-memory database capabilities for browser and Node.js applications. It lets you treat arrays of JSON objects like database tables and query or manipulate them with a SQL-inspired interface.

## Use cases
- query arrays of JSON objects with SQL-like filters in the browser
- filter, sort, and update in-memory records without a backend database
- find records by field equality, comparison operators, or like patterns
- get distinct values, counts, and selected columns from a collection
- manipulate client-side data collections in a jQuery or DOM app
- store and query structured data in a Node.js script

## When to choose
- you need lightweight in-memory querying of JSON data in the browser or Node
- you want SQL-inspired operations (insert, update, sort, distinct) on object arrays
- you need a small, dependency-free library compatible with older browsers

## When to avoid
- you need persistent storage, transactions, or large datasets beyond memory
- you need a real database with indexes, joins, or concurrent access
- the project requires actively maintained software with modern ES module support

## Facets
- artifact type: library
- maturity: maintenance
- function: database, search-engine, serialization
- domain: databases, web-development, developer-tools
- platform: browser, cross-platform
- tags: in-memory-database, -database, sql-like-queries, data-manipulation, javascript, nodejs

## Member repositories
- typicaljoe/taffydb (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:26.101676+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-30T02:46:21.454175+00:00, confidence not recorded.
  - readme: https://github.com/typicaljoe/taffydb (fetched 2026-08-28T04:06:26.101676+00:00, sha b9700eeb790a)
  - homepage: http://taffydb.com (fetched 2026-08-29T10:27:03.723531+00:00, sha fe012432d36e)
  - registry_npm: https://registry.npmjs.org/taffydb (fetched 2026-08-29T10:27:03.732415+00:00, sha ce936b51f316)
- Data as of 2026-08-30T08:39:29.467469+00:00.
