Stack Gems
Menu
← Catalog

TypeORM

MIT TypeScript ORM with Active Record and Data Mapper

Next.js / App Platform · OSS/MIT · 36.7k

Reviewed 2026-10-18 · last push 2026-10-15 · repo checked 2026-10-19

What's Good

MIT (typeorm/typeorm), release 1.1.2 (2026-10-08), around since 2016. It supports more databases than most JS ORMs: Postgres, MySQL/MariaDB, SQLite, SQL Server, Oracle, MongoDB, SAP HANA and Google Spanner. Decorator-based entities, relations with eager and lazy loading, migrations, a query builder and transactions. Influenced by Hibernate, Doctrine and Entity Framework. ★~36.7k.

The Catch

Decorators and reflection metadata feel heavy next to schema-first tools like Drizzle or Prisma, and type safety for complex queries is weaker. Maintenance went through quiet years before the 1.x releases, so some old issues linger. Lazy relations and migrations need discipline.

Verdict

Still a solid pick for NestJS-style apps — newer projects often prefer Drizzle.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/typeorm.svg)](https://stackgems.com/gems/typeorm)

HTML

<a href="https://stackgems.com/gems/typeorm"><img src="https://stackgems.com/badge/typeorm.svg" alt="TypeORM reviewed on Stack Gems" height="20"></a>