FindSoftware

TypeORM

TypeScript and JavaScript ORM that maps database tables to classes and offers a query builder, with DataMapper and ActiveRecord patterns.

TypeORM maps database tables to classes in TypeScript or JavaScript. Entity classes declare their columns and relations with decorators, and the application reads and writes rows through repositories, the entity manager or a query builder. The same entities can follow a DataMapper style, where a repository handles the rows, or an ActiveRecord style, where the entity class carries its own save and find methods.

The package also covers migrations and a CLI whose init command generates a starter project for a Node.js application. The getting-started guide walks through the setup.

Worth knowing

Entities rely on decorators, so the project’s TypeScript configuration enables experimentalDecorators and emitDecoratorMetadata, and the reflect-metadata shim is installed beside the package. Each database needs its own driver package, installed as that driver’s documentation describes.

Identity

Status
Active
Maintainer
TypeORM4
First release
20166

Rendering and deploy

Install with
npm3

Releases

Current major version
17
Last release
2026-11-128

Adoption

GitHub stars
36,6742
npm downloads a week
6,716,64110
Contributors
4249
Downloads a month
26,021,91511
Dependent repositories
51,34011
Dependent packages
3,66011

Why these figures do not compare

Sources

  1. 2026-11-16: links
    typeorm.io/
  2. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/typeorm/typeorm
  3. 2026-11-16: links, Categories, Runtime, Install with, Databases
    typeorm.io/docs/getting-started
  4. 2026-11-16: Maintainer, License, License model
    raw.githubusercontent.com/typeorm/typeorm/master/LICENSE
  5. 2026-11-16: Minimum runtime
    raw.githubusercontent.com/typeorm/typeorm/1.1.3/package.json
  6. 2026-11-16: First release
    registry.npmjs.org/typeorm
  7. 2026-11-16: Current major version
    api.github.com/repos/typeorm/typeorm/releases?per_page=100
  8. 2026-11-16: Last release
    api.github.com/repos/typeorm/typeorm/releases/latest
  9. 2026-11-16: Contributors
    api.github.com/repos/typeorm/typeorm/contributors?per_page=1
  10. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/typeorm
  11. 2026-11-16: Downloads a month, Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typeorm

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON