FindSoftware

Objection.js

SQL-friendly ORM for Node.js that works as a relational query builder on top of knex.

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

Status
Active
Maintainer
Sami Koskimäki7
First release
20158

Rendering and deploy

Install with
npm3

Releases

Current major version
49
Last release
2026-11-059

Adoption

GitHub stars
172
npm downloads a week
301,96311
Contributors
16910
Dependent repositories
2,98812
Dependent packages
39412

Why these figures do not compare

Sources

  1. 2026-11-16: links
    ditojs.github.io/objection/
  2. 2026-11-16: links, Written in, License, GitHub stars
    api.github.com/repos/ditojs/objection
  3. 2026-11-16: links, Runtime, Install with
    ditojs.github.io/objection/guide/
  4. 2026-11-16: Categories, Built on, Databases
    github.com/ditojs/objection/blob/main/README.md
  5. 2026-11-16: Minimum runtime
    github.com/ditojs/objection/blob/v4.4.3/package.json
  6. 2026-11-16: links
    ditojs.github.io/objection/guide/plugins.html
  7. 2026-11-16: Maintainer, License model
    github.com/ditojs/objection/blob/main/LICENSE
  8. 2026-11-16: First release
    api.github.com/repos/Vincit/objection.js/commits/0.1.0
  9. 2026-11-16: Current major version, Last release
    api.github.com/repos/ditojs/objection/releases
  10. 2026-11-16: Contributors
    api.github.com/repos/ditojs/objection/contributors?per_page=1
  11. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/objection
  12. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/objection

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON