jawj/zapatos
Zero-abstraction Postgres for TypeScript: a non-ORM database library observed · 2026-08-28
Health v2 · maintenance only
51/100
- Activity 42
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2362
- days_rel: n/a
- days_push: 348
- n_releases_24m: 0
Adoption not part of the score
1402 stars · 48 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Zapatos is a TypeScript library providing zero-abstraction, fully typed access to Postgres. It generates a TypeScript schema from your database and offers typed helpers for arbitrary SQL, CRUD, nested LATERAL JOINs, and transactions.
Use cases
- write type-safe SQL queries in TypeScript against Postgres
- generate TypeScript types from a Postgres schema
- run typed CRUD queries without an ORM
- build nested JSON results from LATERAL JOINs
- manage and retry Postgres transactions in TypeScript
- avoid ORM abstractions while keeping type safety
When to choose
- you know SQL and want Postgres-first, type-safe queries in TypeScript
- you want automatic types generated from your actual database schema
- you need complex nested JSON query results without an ORM
- you find traditional ORMs too heavy or leaky
When to avoid
- you need multi-database support beyond Postgres
- you want a full ORM with migrations, models, and change tracking
- your project is not TypeScript or JavaScript with type checking
- you prefer query-builder abstractions over raw SQL
Facets
library · maturity active
database database-driver orm databases backend web-development developer-tools cli postgres type-safety sql non-orm tagged-templates schema-generation lateral-joins transactions nodejs typescript
3 sources
- readme: https://github.com/jawj/zapatos · fetched 2026-08-28 · a33cc2b026b9
- homepage: https://jawj.github.io/zapatos/ · fetched 2026-08-29 · aedcfbffb9fc
- registry_npm: https://registry.npmjs.org/zapatos · fetched 2026-08-29 · 3bf6eaa2ed49
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jawj/zapatos | main | 51 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem