typeorm/typeorm
TypeScript & JavaScript ORM for Node.js — supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, and more. observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 32.5
- age_days: 3838
- days_rel: 51
- days_push: 7
- n_releases_24m: 13
Adoption not part of the score
36632 stars · 6656 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
TypeORM is a TypeScript-first object-relational mapper for Node.js and other JavaScript platforms, supporting both Active Record and Data Mapper patterns. It works with PostgreSQL, MySQL/MariaDB, SQLite, SQL Server, Oracle, MongoDB, CockroachDB, SAP HANA, and Google Spanner, and includes migrations, a powerful QueryBuilder, transactions, and relation support.
Use cases
- map TypeScript entities to relational database tables
- manage database schema migrations in a Node.js app
- build complex SQL queries with joins and pagination via a query builder
- use the same ORM across PostgreSQL, MySQL, and SQLite
- model one-to-many and many-to-many relations with eager/lazy loading
- run transactions and connection pooling in an enterprise backend
- use an ORM in React Native or Electron apps
When to choose
- you want type-safe database models in a TypeScript project
- you need broad multi-database support from a single ORM
- you prefer a choice between Active Record and Data Mapper patterns
- you need first-class migrations and schema synchronization
- you're building NestJS or Express backends with relational data
When to avoid
- you need a lightweight query builder without entity mapping overhead
- your project targets Node.js versions older than 20
- you prefer Prisma-style schema-first workflows
- you need heavy NoSQL document modeling (MongoDB support is limited)
- you want minimal dependencies or a very small bundle
Facets
library · maturity stable
orm database database-driver databases backend web-development developer-tools browser cross-platform active-record data-mapper entity-framework-inspired migrations querybuilder multi-database migration nodejs typescript javascript electron mobile
5 sources
- readme: https://github.com/typeorm/typeorm · fetched 2026-08-28 · cdc0204c6765
- homepage: http://typeorm.io · fetched 2026-08-29 · ac330bc19cda
- site_page: https://typeorm.io/docs/releases/1.0/release-notes · fetched 2026-08-29 · 903a3b74919c
- site_page: https://typeorm.io/docs/releases/1.0/upgrading-from-0.3 · fetched 2026-08-29 · 8c9a579e1fff
- site_page: https://typeorm.io/docs/getting-started · fetched 2026-08-29 · c5c0f02483cb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| typeorm/typeorm | main | 93 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem