Elestia Open Source Ratings
6.4

TypeORM

Reasonable, with limits. 7th of 10 ORMs and query builders.

TypeORM is a decorator-based ORM for Node.js. It copies Hibernate's style, supports many SQL databases and MongoDB, and is the usual default with NestJS. A new team revived it and shipped 1.0 in 2026, so it is a sound pick for NestJS or enterprise-style codebases. For most new TypeScript projects, Drizzle or Prisma give better type safety and are winning more new users.

Best for: NestJS teams and developers coming from Java or .NET who want entity classes, decorators and support for databases like Oracle or SQL Server.

WebsiteGitHubnpm

Scores

Overall6.4

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

The revival and the 1.0 release make TypeORM safe to keep and reasonable to start with in NestJS or enterprise-style projects. For most new TypeScript projects, Drizzle, Prisma or Kysely give stronger type safety and a better developer experience, and they are winning new users. Recent injection advisories and a maintainer team that is new and has no visible funding keep the score in the middle.

GPT-6.2 Sol: 7.2, likely 6.2 to 8.3

TypeORM is a strong new-project choice when a team wants class-based entities, built-in migrations, and broad driver support. For a typical new TypeScript app, Prisma or Drizzle has the edge on inferred query results, and Kysely fits teams that mainly need a typed SQL builder. The maintenance recovery supports a new adoption, while recent upgrade surprises and below-baseline adoption growth temper the recommendation.

Needed by many6.8

How many developers need a tool for this job?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Most backend JavaScript and TypeScript projects need to read and write a database, so the category is broad. TypeORM's style (classes, decorators, Node only) narrows it a little, but it covers SQL and MongoDB.

GPT-6.2 Sol: 6.5, likely 5.4 to 7.6

Database access is a common need for JavaScript and TypeScript backend teams. TypeORM works across frameworks and supports a wide range of databases, which makes it useful beyond NestJS. The range reflects uncertainty about how many teams want entity mapping when a driver or query builder would cover their needs.

Helps a lot6.8

How well does it do the job for those who need it?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

It has many features and is mature: migrations, relations, a query builder, many drivers, and new 1.0 additions such as returning on update and INSERT ... SELECT. Independent comparisons point to looser type safety, inefficient relation queries, three overlapping query APIs and a risky synchronize mode. Drizzle and Prisma do the typed-query job better for most people.

GPT-6.2 Sol: 7.5, likely 6.5 to 8.5

Version 1.1.3 combines relation loading, transactions, repositories, and migration generation, with documentation for both decorated classes and entity schemas. Its query builder leaves many references unchecked, and partial selects can still look like complete entities to TypeScript. That gives coding agents less compiler feedback than Kysely provides. PostgreSQL benchmarks show competitive performance, with results that vary by workload.

Holds up over time6.8

Will it still be a good choice in two years?

Claude Opus 5.5: 6.5, likely 5.0 to 7.5

A new team took over at the end of 2024. Since then it has merged hundreds of pull requests, closed thousands of issues, made 9 releases in the last year and shipped 1.0 with a codemod. No company sponsor is visible, and the revival is less than two years old, so the range stays wide. New projects in the ecosystem are moving towards Drizzle and Prisma.

GPT-6.2 Sol: 7.1, likely 5.9 to 8.3

A larger team took over in late 2024, and 469 commits and nine releases in the past year show that maintenance has recovered. The Linux Foundation reports a nine-day average merge lead time, while 267 pull requests remain open. Vendure had to adjust its entity definitions after a patch changed foreign-key defaults. The number of people who can publish releases and the long-term funding for maintenance remain unclear.

Used widely6.2

How many use it, and is that growing?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

About 28M downloads in the last 4 weeks and 51k dependent repos, more than Prisma's 43k repos, so it is widely used. Its year-on-year ratio is about 2.4, well below the 4.1 median, while Drizzle, Kysely and Prisma grow much faster, so its share of new projects is falling. Much of its use comes in with NestJS projects.

  • npm downloadsLast4Weeks: 27.95M vs 11.70M a year ago, ratio ~2.4, below the 4.1 median
  • dependents: 51,340 repos and 3,660 packages
  • peers: Drizzle 190M, Kysely 118M, Prisma 98M downloads with much faster growth

GPT-6.2 Sol: 5.9, likely 4.8 to 7.0

The index finds 51,340 dependent repositories and 3,660 packages, with more indexed repositories than Prisma or Drizzle. Four-week installs rose from 11.7 million to 28.0 million, a 2.39× increase against the 4.1× baseline. That indicates a loss of relative download share, and partial indexing and automated installs leave the pace of new adoption uncertain.

  • dependents: 51,340 indexed repositories and 3,660 indexed packages declare TypeORM.
  • npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: Four-week installs grew 2.39× year over year.
  • medianDownloadsRatio and peers: Below the 4.1× baseline, with slower install growth than Prisma, Drizzle, and Kysely.
  • github.stars, bluesky, and hackerNews: 36,686 stars, four Bluesky links mostly from maintainers, and little discussion in the matched Hacker News stories.
  • mariadb.org/wp-content/uploads/2025/12/State-of-MariaDB-2025-Survey-2025-12-17.pdf: Four of 111 respondents to the ORM question reported using TypeORM, compared with nine for Prisma.
Vouched for6.0

Who stands behind it being good?

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

NestJS supports it through an official integration package, and many enterprise codebases run it. Current independent comparisons mostly rank it behind Prisma and Drizzle for new work. Community attention is low: very few Hacker News or Bluesky posts, and most Bluesky posts are by a maintainer.

GPT-6.2 Sol: 6.4, likely 5.2 to 7.6

NestJS maintains a dedicated integration, and Tikpay publicly reports using TypeORM for transit ticketing. An independent 2025 study found balanced performance across the PostgreSQL workloads it tested. Recent user reports are mixed, and Immich switched to Kysely in 2025. Broad satisfaction data for the current release is limited.

Safe6.6

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Three advisories in 24 months: two SQL injection flaws and one code injection in migration:generate. They were fixed in patch releases and through the 1.0 hardening work. The SQL injection flaw in orderBy had been in the code since 0.1.12. Scorecard is 7.1, with weak Token-Permissions, Fuzzing and CII checks. It pulls in 10 dependencies and is MIT licensed.

GPT-6.2 Sol: 7.2, likely 6.1 to 8.3

Version 1.1.3 contains fixes for all three advisories from the past two years, with patched releases available by public disclosure. The package uses the MIT license and npm trusted publishing, and the current release tag is signed. Ten direct dependencies, weak workflow token permissions, and a zero fuzzing score leave room for risk.

Good

  • It supports more databases than most peers: PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, MongoDB and others.
  • It works with NestJS out of the box through @nestjs/typeorm, and many tutorials and templates use it.
  • Since the new team took over, releases come regularly: 1.0 shipped in 2026, then patch releases up to 1.1.3, plus a codemod for upgrading from 0.3.
  • It offers both Active Record and Data Mapper patterns, plus a query builder for complex SQL.

Bad

  • Its types come from entity classes, so loaded relations and partial selects are not checked as strictly as in Drizzle, Prisma or Kysely.
  • Several SQL injection advisories came out in 2025–2026, and fixing them meant upgrading to new versions.
  • It runs on Node only and depends on decorators, which makes edge and serverless setups awkward.
  • Its downloads grow well below the category median, so new projects are moving to Drizzle, Prisma and Kysely.

The numbers

npm downloads, 4 weeks
28M ×2.4 in a year
GitHub stars
37k
Commits, 12 months
469
npm version
1.1.3 Nov 2026
Versions, 12 months
9
Advisories, 24 months
3 of 6 ever
OpenSSF Scorecard
7.1 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (typeorm/typeorm), npm (typeorm), OSV and the OpenSSF Scorecard.

ORMs and query builders

  1. 8.1Drizzle ORM
  2. 8.0Kysely
  3. 7.8Mongoose
  4. 7.5Prisma
  5. 7.3MikroORM
  6. 6.7ZenStack
  7. 6.4TypeORM
  8. 5.9Knex.js
  9. 5.3Objection.js
  10. 5.0Sequelize
Compare all 10 on six scores