
About TypeORM
TypeORM is an open source object-relational mapper for TypeScript and JavaScript. It lets you map database tables to classes and query them through a type-safe API.
What it does
You define entities as classes with decorators, and TypeORM maps them to database tables. It supports both the DataMapper and ActiveRecord patterns, so you can choose the style that suits your project. Its query builder handles joins, pagination and caching, and migration tools cover schema changes. It runs in Node.js, browsers, mobile apps and desktop apps.
Key features
- Entities defined as TypeScript classes
- DataMapper and ActiveRecord patterns
- Query builder with joins and pagination
- Migrations with automatic generation
- Support for many SQL databases and MongoDB
Who it's for
TypeScript teams building apps on relational databases, including mobile and desktop apps. It suits developers who want one ORM that works across many database engines.
Pricing and good to know
TypeORM is free and open source under the MIT license. Its decorator-based entities need some TypeScript configuration. The project has reached version 1.0, so read the release notes and upgrade guide before moving from an older version.
Highlights
- Entities defined as TypeScript classes
- DataMapper and ActiveRecord patterns
- Query builder with joins and pagination
- Migrations with automatic generation
- Support for many SQL databases and MongoDB












