Objection.js
SQL-friendly ORM for Node.js that works as a relational query builder on top of knex.
ditojs.github.io/objection/repositorydocsplugins
Objection.js is an ORM for Node.js that is built on knex, the SQL query builder, so the databases knex supports can be used through it. The project calls it a relational query builder. Its README lists declarative models with relationships between them, eager loading and transactions among its features, and it ships TypeScript typings, optional JSON schema validation, and a way to store complex documents as single rows.
Worth knowing
The original repository, Vincit/objection.js, still exists under the same project name. The project says development continues at ditojs/objection, the repository this record names.
Objection is an ES module. CommonJS code can still load it with require.
Identity
Rendering and deploy
- Install with
- npm3
Releases
Adoption
Sources
- 2026-11-16: links
ditojs.github.io/objection/ - 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/ditojs/objection - 2026-11-16: links, Runtime, Install with
ditojs.github.io/objection/guide/ - 2026-11-16: Categories, Built on, Databases
github.com/ditojs/objection/blob/main/README.md - 2026-11-16: Minimum runtime
github.com/ditojs/objection/blob/v4.4.3/package.json - 2026-11-16: links
ditojs.github.io/objection/guide/plugins.html - 2026-11-16: Maintainer, License model
github.com/ditojs/objection/blob/main/LICENSE - 2026-11-16: First release
api.github.com/repos/Vincit/objection.js/commits/0.1.0 - 2026-11-16: Current major version, Last release
api.github.com/repos/ditojs/objection/releases - 2026-11-16: Contributors
api.github.com/repos/ditojs/objection/contributors?per_page=1 - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/objection - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/objection