Elestia Open Source Ratings

ORMs and query builders

Read and write a database from JavaScript or TypeScript. We rate 10; Drizzle ORM leads with 8.1 out of 10.

8.1Drizzle ORMTypeScript teams that know SQL and want typed queries that read like SQL, with no generate step, on Postgres, MySQL or SQLite, including serverless and edge runtimes.7.58.17.27.57.57.7
8.0KyselyTypeScript teams that write real SQL and want full type inference without an ORM, on Postgres, MySQL, SQLite, MSSQL or edge runtimes.6.78.47.45.97.67.2
7.8MongooseNode.js teams on MongoDB that want schemas, validation, middleware, population and full access to MongoDB queries and aggregations.4.48.28.47.87.16.3
7.5PrismaTeams that want a readable schema, generated types, guided migrations and easy onboarding on Postgres, MySQL, SQLite, SQL Server or MongoDB.7.47.87.07.87.37.9
7.3MikroORMTypeScript backend teams, often on NestJS, who want a rich entity model with Unit of Work and Identity Map and are willing to learn those patterns.6.17.87.44.45.66.7
6.7ZenStackFull-stack TypeScript teams who like Prisma's schema and API and want row- and field-level access rules enforced inside the ORM.6.17.26.53.43.86.5
6.4TypeORMNestJS teams and developers coming from Java or .NET who want entity classes, decorators and support for databases like Oracle or SQL Server.6.86.86.86.26.06.6
5.9Knex.jsJavaScript or mixed JS/TS teams that need a proven query builder with built-in migrations across many SQL databases, including Oracle and SQL Server.6.66.55.56.46.96.1
5.3Objection.jsTeams that already run Objection or Knex and want relation graphs (eager loading, insertGraph, upsertGraph) on top of plain SQL.5.76.85.54.14.07.2
5.0SequelizeTeams that already run Sequelize v6, or that need a dialect such as DB2, Oracle or MSSQL that newer ORMs handle less well.6.85.94.76.45.15.5

The numbers

Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.

ProjectDownloads, 4 weeksIn a yearGitHub starsCommits, 12 monthsLast npm releaseAdvisories, 24 months
Drizzle ORM190M×1936k35Oct 20261
Kysely118M×2314k430Nov 20264
Mongoose36M×2.627k2.1kNov 20269
Prisma98M×5.048k7.8kOct 20260
MikroORM6.1M×4.59.3k1.6kNov 20262
ZenStack418k×2513k568Nov 20260
TypeORM28M×2.437k469Nov 20263
Knex.js28M×2.520k129Jun 20260
Objection.js1.3M+60%17526Nov 20260
Sequelize16M+87%30k339Mar 20262