tonsky/datascript
Immutable database and Datalog query engine for Clojure, ClojureScript and JS observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 97
- Release rhythm 86
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 63.0
- age_days: 4523
- days_rel: 18
- days_push: 18
- n_releases_24m: 7
Adoption not part of the score
5784 stars · 318 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
DataScript is an immutable, in-memory database with a Datalog query engine for Clojure, ClojureScript, and JavaScript. It is designed to be cheap to create and ephemeral, serving as a lightweight state-management building block for client-side applications.
Use cases
- manage application state in the browser with an immutable database
- run Datalog queries against client-side data
- implement undo/redo by rewinding database state
- track evolving app state and sync with a server in the background
- replace hand-filtered arrays with indexed in-memory queries
- query structured data in ClojureScript single-page apps
When to avoid
- you need durable, persistent storage or a real server-side database
- you have large datasets where a full database engine's overhead is justified
- you are not working in Clojure, ClojureScript, or JavaScript
- you need SQL or multi-user concurrent write support
Facets
library · maturity stable
database search-engine state-management databases web-development frontend developer-tools jvm-scripting browser cross-platform datalog immutable-database in-memory-database clojurescript client-side-state persistent-data-structures nodejs
1 source
- readme: https://github.com/tonsky/datascript · fetched 2026-08-28 · b56cf5171c97
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tonsky/datascript | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="tonsky/datascript")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem