Vincit/objection.js
An SQL-friendly ORM for Node.js observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 89
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 4159
- days_rel: n/a
- days_push: 71
- n_releases_24m: 0
Adoption not part of the score
7342 stars · 641 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Objection.js is an SQL-friendly ORM for Node.js built on the knex query builder, best described as a relational query builder with powerful relation-handling tools. It supports SQLite3, Postgres, and MySQL, offering declarative models, eager loading, graph inserts/upserts, transactions, TypeScript support, and optional JSON schema validation.
Use cases
- define models and relationships for a SQL database in Node.js
- build type-safe SQL queries with a query builder instead of raw SQL
- eager load related rows and insert or upsert object graphs
- run database transactions easily in a Node.js app
- validate model data with JSON schema
- store complex JSON documents as single rows in a relational database
When to choose
- you want full SQL power with a friendly Node.js API on Postgres, MySQL, or SQLite
- you already use knex and want relation handling on top
- you prefer working with queries over a heavy object-oriented entity layer
- you want official TypeScript support and optional validation
When to avoid
- you need automatic schema creation and migrations from model definitions
- you want a fully object-oriented entity/active-record style ORM
- you use a database not supported by knex
- you need a custom query DSL instead of SQL-based querying
Facets
library · maturity stable
orm database database-driver serialization error-handling databases backend web-development developer-tools sql query-builder knex relational-databases postgres mysql sqlite eager-loading transactions json-schema-validation nodejs javascript typescript
2 sources
- readme: https://github.com/Vincit/objection.js · fetched 2026-08-28 · b0efd310c881
- homepage: https://vincit.github.io/objection.js · fetched 2026-08-29 · a8a03c033e3b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Vincit/objection.js | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="Vincit/objection.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem