Command Palette

Search for a command to run...

position in category
#6

Object-relational mapper for TypeScript and JavaScript that runs in Node.js, browsers, React Native, Electron, and other runtimes. Provides type-safe database access with decorator-based entities, supports both Active Record and Data Mapper patterns, and works with a wide range of relational and document databases.

TypeORM is influenced by Hibernate, Doctrine, and Entity Framework. It stands out among JavaScript ORMs as the only one supporting both Active Record and Data Mapper, and it supports more databases than any other JS or TS ORM, from SQLite to Oracle and MongoDB.

Key capabilities:

  • TypeScript-first design with full type inference and decorator-based entity definitions
  • Active Record and Data Mapper patterns for different architectural preferences
  • Broad database support: PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, MongoDB, CockroachDB, SAP HANA, Google Spanner
  • Migrations with automatic generation and schema synchronization
  • QueryBuilder for complex joins, pagination, and query caching
  • Relations, transactions, connection pooling, replication, and listener hooks
  • Cross-platform runtime support for Node, browser, mobile, and desktop

Backend services built with Express, Koa, or NestJS commonly use TypeORM for persistence. It suits full-stack and mobile apps where developers want type safety and a familiar ORM style. Teams running polyglot or multi-database setups benefit from a single API across different engines.

GitHub Repositories
71
-7.8%
Trending down this week
Removed in 6 repos