drizzle-orm vs typeorm

NPM Package Comparison - Which one should you use?

drizzle-orm

🏆Most PopularðŸ“ĶSmallestðŸŠķLightweight📘TypeScript

Drizzle ORM package for SQL databases

View Repository →
npm install drizzle-orm

typeorm

📘TypeScript

Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.

View Repository →
npm install typeorm

Download Trends (Last 12 Weeks)

When to Choose Each

👉Choose drizzle-orm if:

  • ✓You want the most battle-tested solution with a larger community
  • ✓Bundle size is critical for your project
  • ✓You prefer fewer dependencies to reduce supply chain risk

👉Choose typeorm if:

  • ✓You want a lighter alternative to the mainstream option

Comparison

Metricdrizzle-ormtypeorm
Weekly Downloads4.1M0
GitHub StarsN/AN/A
Bundle Size10.4 MB20.8 MB
Dependencies015
Last Updated1 months ago1 months ago
TypeScriptYesYes
LicenseApache-2.0MIT
Version0.45.10.3.28

Related Comparisons