# TypeORM

> TypeScript and JavaScript ORM that supports both Active Record and Data Mapper patterns, widely used in Node.js backend frameworks like NestJS.

Canonical: https://www.findalternate.com/typeorm
Last updated: 2026-09-11

TypeScript and JavaScript ORM that supports both Active Record and Data Mapper patterns, widely used in Node.js backend frameworks like NestJS.

## Key facts

- **Website:** https://typeorm.io/
- **Category:** Database
- **Pricing:** FREE
- **Platforms:** CLI
- **Launched:** 2026-07-01
- **Maker:** adi
- **Likes:** 0
- **Points:** 0
- **Comments:** 0

## Key features

- Dual Architecture Support: Supports both Active Record and Data Mapper design patterns within TypeScript and JavaScript projects.
- Broad Database Compatibility: Connects with PostgreSQL, MySQL, MariaDB, SQLite, Oracle, and Microsoft SQL Server.
- Declarative Schema Decorators: Defines entity schemas, relationships, and table constraints directly using clean TypeScript decorators.
- Automated Migration Management: Generates and executes database schema migrations smoothly between development and production environments.
- Expressive QueryBuilder: Constructs complex SQL queries using a fluent, type-safe programmatic builder interface.

## Recommended for

Node.js and TypeScript backend developers seeking a flexible, decorator-driven object-relational mapping library with broad database compatibility and seamless enterprise framework integration.

## Pros and cons

Pros:
- First-class TypeScript support with strong type safety across entities and relations.
- Seamless native integration with popular Node enterprise frameworks like NestJS.
- Flexible architecture accommodating both Active Record and Data Mapper paradigms.

Cons:
- Maintainer responsiveness and open issue backlogs have caused developer friction.
- Complex cascading relations and performance tuning can be tricky in large enterprise codebases.

## Tags

orm, typescript, flexible

## Alternates

- [Prisma](https://www.findalternate.com/prisma): Modern TypeScript ORM offering a type-safe query builder, automated migrations, and an intuitive schema definition language that has become a favorite in the Node.js ecosystem. — FREEMIUM, 0 likes
- [Entity Framework Core](https://www.findalternate.com/entity-framework-core): Microsoft's official ORM for .NET, letting developers work with databases using .NET objects and LINQ queries instead of writing SQL directly. — FREE, 0 likes
- [SQLAlchemy](https://www.findalternate.com/sqlalchemy): Comprehensive Python SQL toolkit and ORM offering both a high-level ORM layer and full control over raw SQL, considered the standard for Python database work outside Django. — FREE, 0 likes
- [Sequelize](https://www.findalternate.com/sequelize): Long-established promise-based Node.js ORM supporting PostgreSQL, MySQL, SQLite, and other databases with a mature ecosystem of plugins and migrations. — FREE, 0 likes
- [Django ORM](https://www.findalternate.com/django-orm): The object-relational mapper built into Django, letting Python developers define database models as classes and query them using Python instead of raw SQL. — FREE, 0 likes
- [Hibernate](https://www.findalternate.com/hibernate): The most widely used ORM framework for Java, mapping Java objects to relational database tables and handling much of the boilerplate involved in persistence. — FREE, 0 likes

## Related

- [Database category](https://www.findalternate.com/category/database)
- [Compare TypeORM and Prisma](https://www.findalternate.com/compare/typeorm-vs-prisma)
- [FindAlternate homepage](https://www.findalternate.com/)
