Search for a command to run...
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:
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.