Drizzle ORM
TypeScript ORM that maps closely to SQL, for Postgres, MySQL and SQLite.
6 tools you can use instead of Prisma, ranked by live GitHub stars and npm downloads. Drizzle ORM, Kysely and TypeORM are the most used. Stats updated 5 hours ago.
Prisma is an open source database toolkit for Node.js and TypeScript, built around a type-safe ORM, a schema-first data model and a migration system. Prisma Data, Inc. also offers a managed platform, including Prisma Postgres, with a free tier and usage-based paid plans. The Prisma ORM itself is free and open source under the Apache 2.0 license.
It is a weaker choice for:
Most used first.
TypeScript ORM that maps closely to SQL, for Postgres, MySQL and SQLite.
Type-safe SQL query builder for TypeScript. It is not a full ORM.
MIT-licensed ORM for TypeScript and JavaScript with Active Record and Data Mapper support.
TypeScript ORM for Node.js built on Data Mapper, Unit of Work and Identity Map patterns.
Schema-based object modeling library for MongoDB on Node.js.
Promise-based ORM for Node.js and TypeScript that supports six SQL databases.
| Tool | Pricing | Free plan | Paid from | Open source | GitHub stars |
|---|---|---|---|---|---|
| Prisma | Freemium | Yes: 200,000 database operations, 500 MB storage, up to 50 databases and 1 million requests a month, no credit card required | $10 a month for Starter (5 million requests, 1 million operations, 10 GB storage) | Yes, Apache-2.0 | 47.7k |
| Drizzle ORM | Open source | Yes, the ORM itself is free and open source; paid add-ons like Drizzle Studio and OneDollarStats are separate products | Not listed | Yes, Apache-2.0 | 36k |
| Kysely | Open source | Yes. Kysely is free and open source. | Not listed | Yes, MIT | 14.3k |
| TypeORM | Open source | Yes: free and open source. | Not listed | Yes, MIT | 36.7k |
| MikroORM | Open source | Yes: free and open source. Sponsorship is accepted through GitHub Sponsors. | Not listed | Yes, MIT | 9.2k |
| Mongoose | Open source | Yes: free and open source | Not listed | Yes, MIT | None |
| Sequelize | Open source | Yes: free and open source | Not listed | Yes, MIT | None |
Pricing facts come from each tool's official pricing page, with the checked date on the tool's own page.
By GitHub stars, Drizzle ORM is the most used alternative to Prisma listed on ScratchDB, with 36k stars.
Drizzle ORM, Kysely, TypeORM, MikroORM, Mongoose and Sequelize are open source.
Drizzle ORM, Kysely, TypeORM, MikroORM, Mongoose and Sequelize have a free plan. The table on this page shows what each one includes.