compare
Knex vs MikroORM
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Knex | MikroORM |
|---|---|---|
| Language | JavaScript | TypeScript |
| Licence | MIT | MIT |
| Stars | 20k | 9.3k |
| Latest | 3.3.0 | v7.2.11 |
| Last push | 2026-06-26 | 2026-11-23 |
| Release cadence | about 16 days between releases | about 2 days between releases |
| Active contributors | 0 commit authors on the default branch in the last 90 days | 53 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace Sequelize. Alternatives to Sequelize →
PartialKnexA SQL query builder with migrations and seeds rather than an ORM, with no models to define.
Full replacementMikroORMData mapper with unit of work and identity map, entities declared in TypeScript.
Both replace TypeORM. Alternatives to TypeORM →
PartialKnexA SQL query builder with migrations and seeds rather than an ORM, with no entities to map.
Full replacementMikroORMData mapper with unit of work and identity map, entities declared in TypeScript.
Knex
MikroORM
- v7.2.112026-11-20core: do not replace entity methods with unknown keys in assign() (#8771) (d411df7)
- v6.6.192026-11-20core: do not replace entity methods with unknown keys in assign() (#8773) (039b436), closes #8771
- v7.2.102026-11-16cli: resolve MIKRO_ORM_TYPE=mongo to the mongo driver (#8723) (daf5d62)
- v6.6.182026-11-12core: allow falsy values in concurrency checks (backport to 6.x) (#8524) (28a83f8), closes #8318 #8318
- v7.2.92026-11-12cli: resolve TS loaders from the project root (#8669) (1b655f9)
Knex
unsigned The latest release, 3.3.0, carries no signature GitHub could verify.
Loading the security report
MikroORM
unsigned The latest release, v7.2.11, carries no signature GitHub could verify.
Loading the security report