typeorm

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

Decorator-based ORM, popular with NestJS.

When to choose it: Decorator/entity style (e.g. NestJS apps) where you want both Active Record and Data Mapper patterns.

  • + Decorator entities
  • + NestJS-friendly
  • + Active Record + Data Mapper
  • - Uneven maintenance history
  • - Runtime/type edge cases
Latest version
1.0.0
Monthly downloads
18,073,696
GitHub stars
36,520
Minified + gzip
146.6 kB
Dependencies
10
License
MIT

Compare typeorm with

Data from npm, Bundlephobia and GitHub. Last updated 2026-06-02.