Drizzle ORM
TypeScript ORM that maps closely to SQL, for Postgres, MySQL and SQLite.
6 tools you can use instead of TypeORM, ranked by live GitHub stars and npm downloads. Drizzle ORM, Prisma and Kysely are the most used. Stats updated 5 hours ago.
TypeORM is an object-relational mapper for TypeScript and JavaScript that runs on Node.js and other platforms. It is open source under the MIT license and supports databases such as PostgreSQL, MySQL, SQLite, SQL Server, Oracle and MongoDB. The docs describe TypeORM 1.x as the current release.
It is a weaker choice for:
Most used first.
TypeScript ORM that maps closely to SQL, for Postgres, MySQL and SQLite.
Open source ORM and database toolkit for Node.js and TypeScript, made by Prisma.
Type-safe SQL query builder for TypeScript. It is not a full ORM.
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 |
|---|---|---|---|---|---|
| TypeORM | Open source | Yes: free and open source. | Not listed | Yes, MIT | 36.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 |
| 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 |
| Kysely | Open source | Yes. Kysely is free and open source. | Not listed | Yes, MIT | 14.3k |
| 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 TypeORM listed on ScratchDB, with 36k stars.
Drizzle ORM, Prisma, Kysely, MikroORM, Mongoose and Sequelize are open source.
Drizzle ORM, Prisma, Kysely, MikroORM, Mongoose and Sequelize have a free plan. The table on this page shows what each one includes.