comparar
Knex vs Prisma ORM
Los mismos datos para ambos, leídos de GitHub cada noche, y la relación que revisó una persona.
| Dato | Knex | Prisma ORM |
|---|---|---|
| Lenguaje | JavaScript | TypeScript |
| Licencia | MIT | Apache-2.0 |
| Estrellas | 20k | 48k |
| Última versión | 3.3.0 | 7.10.1 |
| Último push | 2026-06-26 | 2026-11-23 |
| Ritmo de versiones | alrededor de 16 días entre versiones | muy pocas versiones |
| Colaboradores activos | 0 autores de commits en la rama por defecto en los últimos 90 días | 29+ autores de commits en la rama por defecto en los últimos 90 días |
| Avisos | ninguno | ninguno |
Cómo se relacionan
Ambos sustituyen a Sequelize. Alternativas a Sequelize →
ParcialKnexA SQL query builder with migrations and seeds rather than an ORM, with no models to define.
Sustitución completaPrisma ORMSchema file with a generated, type-safe client.
Ambos sustituyen a TypeORM. Alternativas a TypeORM →
ParcialKnexA SQL query builder with migrations and seeds rather than an ORM, with no entities to map.
Sustitución completaPrisma 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…versión preliminar
- 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…versión preliminar
- 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…versión preliminar
- 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…versión preliminar
- 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.…versión preliminar
Knex
sin firmar La última versión, 3.3.0, no lleva ninguna firma que GitHub haya podido verificar.
Cargando el informe de seguridad
Prisma ORM
sin firmar La última versión, 7.10.1, no lleva ninguna firma que GitHub haya podido verificar.
Cargando el informe de seguridad