compare
Knex vs Prisma ORM
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Knex | Prisma ORM |
|---|---|---|
| Language | JavaScript | TypeScript |
| Licence | MIT | Apache-2.0 |
| Stars | 20k | 48k |
| Latest | 3.3.0 | 7.10.1 |
| Last push | 2026-06-26 | 2026-11-23 |
| Release cadence | about 16 days between releases | too few releases |
| Active contributors | 0 commit authors on the default branch in the last 90 days | 29+ 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 replacementPrisma ORMSchema file with a generated, type-safe client.
Both replace TypeORM. Alternatives to TypeORM →
PartialKnexA SQL query builder with migrations and seeds rather than an ORM, with no entities to map.
Full replacementPrisma ORMSchema file with a generated, type-safe client.
Knex
Prisma ORM
- v8.0.0-rc.242026-11-16MongoDB gets the convenience date and time types, and Date becomes a calendar date. A MongoDB TypeScript contract names…pre-release
- v8.0.0-rc.232026-11-06MongoDB indexes carry their names, and migrations create and drop each index by its name. On PostgreSQL, Int, BigInt, F…pre-release
- v8.0.0-rc.222026-10-30On PostgreSQL, DateTime, Date, Time and the new Duration are convenience types whose defaults read a JavaScript Date or…pre-release
- v8.0.0-rc.212026-10-30migration plan and db update can rename or delete an enum value on Postgres and SQLite, and update the rows that hold i…pre-release
- v8.0.0-rc.202026-10-22ORM commands run on @prisma/cli-engine 0.9.0, so a piped command prints tab-separated data lines and JSON needs --json.…pre-release
Knex
unsigned The latest release, 3.3.0, carries no signature GitHub could verify.
Loading the security report
Prisma ORM
unsigned The latest release, 7.10.1, carries no signature GitHub could verify.
Loading the security report