Introduction
TypeORM is an [ORM](https://en.wikipedia.org/wiki/Object-relational_mapping) that can run in Node.js, Browser, Cordova, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES2023). Its goal is to always support the latest JavaScript features and provide additional features that help you to develop any kind of application that uses databases - from small applications with a few tables to large-scale enterprise applications with multiple databases.
TypeORM is highly influenced by other ORMs, such as [Hibernate](http://hibernate.org/orm/), [Doctrine](http://www.doctrine-project.org/) and [Entity Framework](https://www.asp.net/entity-framework).
## Highlights
- Supports both DataMapper and ActiveRecord patterns, giving you the flexibility to choose what works best for your project.
- Built from the ground up with TypeScript support, providing complete type safety for your database models.
- TypeORM supports more databases than any other JS/TS ORM: Google Spanner, Microsoft SqlServer, MySQL/MariaDB, MongoDB, Oracle, Postgres, SAP HANA and SQLite, as well as derived databases and different drivers.
- Elegant syntax for building complex queries with joins, pagination, and caching.
- First-class support for database migrations with automatic generation.
- Works in Node.js, browsers, mobile, and desktop applications.
## Features
- Entities and columns.
- Database-specific column types.
- Entity manager.
- Repositories and custom repositories.
- Clean object-relational model.
- Associations (relations).
- Eager and lazy relations.
- Transactions.
- Migrations and automatic migrations generation.
- Connection pooling.
- Replication.
- Cross-database and cross-schema queries.
- Elegant-syntax, flexible and powerful QueryBuilder.
- Left and inner joins.
- Proper pagination for queries using joins.
- Query caching.
- Logging.
- Listeners and subscribers (hooks).
TypeScript ORMJavaScript ORMData MapperActive RecordQueryBuilderDatabase migrationsMulti-databaseCross-platform
Screenshots

Deployment
Node.js
适用于在后端 Node.js 服务中集成 TypeORM 访问 MySQL、PostgreSQL、MongoDB 等数据库。
Browser
适用于需要在浏览器端 JavaScript 或 TypeScript 应用中使用 TypeORM 的场景。
Cordova
适用于基于 Cordova 构建的混合移动应用中使用 TypeORM 管理本地或应用数据。
Ionic
适用于 Ionic 移动应用项目中集成 TypeORM 进行数据建模与访问。
React Native
适用于 React Native 移动应用中使用 TypeORM 处理数据持久化相关逻辑。
NativeScript
适用于 NativeScript 移动应用中以 TypeScript/JavaScript 方式集成 TypeORM。
Expo
适用于基于 Expo 的 React Native 应用中使用 TypeORM。
Electron
适用于 Electron 桌面应用中使用 TypeORM 访问数据库或本地存储。
TypeORM alternatives
Node.js Open source
Node.js从2009年诞生至今,已经发展了两年有余,其成长的速度有目共睹。从在github的访问量超过Rails,到去年底Node.jsS创始人Ryan Dalh加盟Joyent获得企业资助,再到今年发布Windows移植版本,Node
officegen Open source
这篇文章主要介绍了nodejs(officegen)+vue(axios)在客户端导出word文档的方法,需要的朋友可以参考下
Mongoose Open source
Redirecting...
GitKraken Proprietary
GitKraken – 好用的垮平台Git GUI – 這世上 沒有偶然 只有必然
Python Open source
Python Module of the Week - Python Module of the Week
Shadowsocks Open source
Shadowsocks非官方网站
WireGuard Open source
18.08.23更新 关于apt-get update无法解析源域名的问题,原因是预制的服务商镜像源并不对外开…
Flyspray Open source
Details
Type Open-source software
License MIT
Repository typeorm/typeorm
GitHub Stars 36,600
Last commit 3 周前
Last verified 2026-07-18
Ad slot 300 × 250 Ad
About the data
Stars / commit times sync automatically from the GitHub API; pricing and features are human-verified.