typeorm alternatives
8 packages that do the same job as typeorm: drizzle-orm, drizzle-kit, kysely, @prisma/client, drizzle-zod, @mikro-orm/migrations, drizzle-seed, @mikro-orm/seeder. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| typeorm This package | 3.6m | +55% | - | 10 | 23 days ago | ESM + CommonJS | Bundled | - |
| drizzle-orm | 16.3m | +710% | - | 0 | 3 days ago | ESM + CommonJS | Bundled | - |
| drizzle-kit | 13.6m | +754% | - | 4 | 3 days ago | ESM + CommonJS | Bundled | - |
| kysely | 12m | +1153% | - | 0 | 9 days ago | ESM only | None | - |
| @prisma/client | 11.8m | +235% | - | 1 | 30 days ago | ESM + CommonJS | Bundled | - |
| drizzle-zod | 2.2m | +212% | - | 0 | 1 year ago | ESM + CommonJS | Bundled | - |
| @mikro-orm/migrations | 391.3k | - | - | 1 | 5 days ago | ESM only | Bundled | - |
| drizzle-seed | 234.2k | +246% | - | 1 | 1 year ago | ESM + CommonJS | Bundled | - |
| @mikro-orm/seeder | 116.1k | - | - | 0 | 5 days ago | ESM only | Bundled | - |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.
Drizzle ORM package for SQL databases
Compared with typeorm
- 4.6x more weekly downloads (16.3m vs 3.6m)
- 0 dependencies vs 10
- Declares no Node.js engine range vs Node.js ^20.19.0 || ^22.13.0 || >=24.11.0
- Last release 21 Sept 2026 vs 1 Sept 2026
- About the same number of GitHub stars (35.9k vs 36.7k)
Drizzle Kit is a CLI migrator tool for Drizzle ORM. It is probably the one and only tool that lets you completely automatically generate SQL migrations and covers ~95% of the common cases like deletions and renames by prompting user input. <https://github
Compared with typeorm
- 3.8x more weekly downloads (13.6m vs 3.6m)
- 4 dependencies vs 10
- Declares no Node.js engine range vs Node.js ^20.19.0 || ^22.13.0 || >=24.11.0
- Last release 21 Sept 2026 vs 1 Sept 2026
- About the same number of GitHub stars (35.9k vs 36.7k)
Type safe SQL query builder
Compared with typeorm
- 3.4x more weekly downloads (12m vs 3.6m)
- 0 dependencies vs 10
- ESM only vs ESM + CommonJS
- No types vs bundled types
- Declares Node.js >=22.0.0 vs Node.js ^20.19.0 || ^22.13.0 || >=24.11.0
- Last release 16 Sept 2026 vs 1 Sept 2026
- 2.6x fewer GitHub stars (14.2k vs 36.7k)
Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.
Compared with typeorm
- 3.3x more weekly downloads (11.8m vs 3.6m)
- 1 dependency vs 10
- Declares Node.js ^20.19 || ^22.12 || >=24.0 vs Node.js ^20.19.0 || ^22.13.0 || >=24.11.0
- Last release 25 Aug 2026 vs 1 Sept 2026
- 1.3x more GitHub stars (47.7k vs 36.7k)
Generate Zod schemas from Drizzle ORM schemas
Compared with typeorm
- 1.6x fewer weekly downloads (2.2m vs 3.6m)
- 0 dependencies vs 10
- Declares no Node.js engine range vs Node.js ^20.19.0 || ^22.13.0 || >=24.11.0
- Last release 6 Aug 2025 vs 1 Sept 2026
- About the same number of GitHub stars (35.9k vs 36.7k)
TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.
Compared with typeorm
- 9.1x fewer weekly downloads (391.3k vs 3.6m)
- 1 dependency vs 10
- ESM only vs ESM + CommonJS
- Declares Node.js >= 22.17.0 vs Node.js ^20.19.0 || ^22.13.0 || >=24.11.0
- Last release 19 Sept 2026 vs 1 Sept 2026
- 4.0x fewer GitHub stars (9.2k vs 36.7k)
A package to seed your database using Drizzle ORM
Compared with typeorm
- 15x fewer weekly downloads (234.2k vs 3.6m)
- 1 dependency vs 10
- Declares no Node.js engine range vs Node.js ^20.19.0 || ^22.13.0 || >=24.11.0
- Last release 29 Jan 2025 vs 1 Sept 2026
- About the same number of GitHub stars (35.9k vs 36.7k)
Seeder package for MikroORM.
Compared with typeorm
- 31x fewer weekly downloads (116.1k vs 3.6m)
- 0 dependencies vs 10
- ESM only vs ESM + CommonJS
- Declares Node.js >= 22.17.0 vs Node.js ^20.19.0 || ^22.13.0 || >=24.11.0
- Last release 19 Sept 2026 vs 1 Sept 2026
- 4.0x fewer GitHub stars (9.2k vs 36.7k)
Indexability: Indexed.