
TypeORM
Data-mapper ORM for TypeScript and JavaScript using decorator-defined entities, supporting Postgres, MySQL, SQLite and other databases; common in NestJS apps.
55 open-source projects declare TypeORM in their code; no maker's live product we track uses it yet.
Profile checked
Works with AI agents:llms.txtCLIHow makers use TypeORM
What TypeORM is used for
TypeORM vs the alternatives makers chose
| Option | Makers' products | Open source | |
|---|---|---|---|
| 37 74% | Yes | ||
| 12 24% | Yes | ||
| 1 2% | Yes | ||
| 0 0% | Yes |
For database access & ORMs: how many of the 50 makers' products we know the database access & ORMs of chose each option.
When to use TypeORM, and when not
Something else fits better if
- You want one schema file that generates types, migrations and a readable query API: Prisma.
- You deploy to serverless or edge functions and want queries that read like SQL, fully typed: Drizzle ORM.
- You already write SQL comfortably and only want types around it, no schema layer: Kysely.
- Your backend is Python and not Django: SQLAlchemy.
How TypeORM itself is built
10 tools, from its own code, website and Product Hunt page.
What Hacker News says about TypeORM
On Hacker News, 15% of comments about TypeORM recommend it and 35% criticize it: net praise −20%.
By year
| Year | Comments choosing it, per month | Net praise |
|---|---|---|
| 2023 | 0.3 | −20% |
| 2024 | 0.3 | −14% |
| 2025 | 0.0 | — |
| 2026 (8 mo) | 0.0 | — |
In their words
- “modern ORMs like TypeORM and Prisma do an excellent job IMO.” HN, Jun 2024
- “Found it quite suitable for our use case. Didn't come across any big issue.” HN, Oct 2023
- “Ended up with TypeORM which has been very meh.” HN, Oct 2024
Hacker News comments January 2023 to August 2026 that name TypeORM in a sentence like "I use" or "we moved to", Claude read a sample of 20 and the counts scale it to all of them; net praise is comments recommending it minus comments criticizing it, as a share of all comments about it. How it's counted, and how HN compares with makers.
Reliability and open issues
The most wanted open issue on GitHub has 97 👍.
Most wanted on GitHub
- Migration generation drops and creates columns instead of altering resulting in data loss👍 97 · opened Jan 2019 · active Jun 2026
- Support for scopes/global filters👍 76 · opened Feb 2018 · active Jul 2026
- Performance of query with many `relations`👍 68 · opened Mar 2019 · active May 2026
- findOne with relations does two queries.👍 65 · opened Mar 2020 · active Jul 2026
- Support PostgreSQL 15 UNIQUE NULLS NOT DISTINCT👍 64 · opened Mar 2023 · active Jun 2026
Who uses it
No maker's live product on record yet, and 55 open-source projects that declare it in their code.
We haven't found a maker's live product that uses TypeORM yet — only the open-source projects below, which declare it in their code.
None of these in makers' own words.
Open source: a project that declares TypeORM as a dependency in its public code — verifiable, but not necessarily a live product.
What its projects tell coding agents
14 of the 27 open-source products built with TypeORM that were worked on in the last 180 days keep instruction files for coding agents — 52%, against 53% of all the projects we read. AGENTS.md is in 12, CLAUDE.md in 8.
Alternatives to TypeORM
All alternatives by situation →Questions makers ask about TypeORM
What are the alternatives to TypeORM?
For database access & ORMs, the other options makers' products we track chose most are Prisma (37), Drizzle ORM (12), SQLAlchemy (1). Open source or self-hostable among them: Prisma, Drizzle ORM, SQLAlchemy. Each alternative, with the situation it fits, is on the TypeORM alternatives page.
Is TypeORM free?
Yes — it is free, open-source software.
Is TypeORM open source or self-hostable?
Open source, and you can self-host it. source ↗
Can AI coding agents work with TypeORM?
It serves an llms.txt docs index; it has an official CLI (typeorm).
Who uses TypeORM?
No maker's live product we track yet; 55 open-source projects declare it in their code. source ↗