# TypeORM

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


Source: https://findsoftware.frbit.cloud/typeorm/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://typeorm.io
- repository: https://github.com/typeorm/typeorm
- docs: https://typeorm.io/docs/getting-started
- discord: https://discord.gg/cC9hkmUgNa

### Identity

- status: active
- maintainer: TypeORM
- maintainerType: unknown
- parent: unknown
- firstRelease: 2016
- hqCountry: unknown

### Kind

- category: library
- hosting: node
- language: javascript
- runtime: node
- runtimeMin: node 20
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: postgres, mysql, mariadb, sqlite, sqlserver, oracle, mongodb
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 1
- latestReleaseDate: 2026-11-12

### Adoption

- githubStargazers: 36674
- packagistDownloads: not applicable
- npmWeeklyDownloads: 6716641
- contributors: 424
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: 26021915
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 51340
- dependentPackages: 3660

### Sources

- urls: https://typeorm.io/ (read 2026-11-16)
- urls: https://api.github.com/repos/typeorm/typeorm (read 2026-11-16)
- urls: https://typeorm.io/docs/getting-started (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/typeorm/typeorm/master/LICENSE (read 2026-11-16)
- category: https://typeorm.io/docs/getting-started (read 2026-11-16)
- language: https://api.github.com/repos/typeorm/typeorm (read 2026-11-16)
- runtime: https://typeorm.io/docs/getting-started (read 2026-11-16)
- runtimeMin: https://raw.githubusercontent.com/typeorm/typeorm/1.1.3/package.json (read 2026-11-16)
- installMethod: https://typeorm.io/docs/getting-started (read 2026-11-16)
- databases: https://typeorm.io/docs/getting-started (read 2026-11-16)
- databases: https://typeorm.io/docs/getting-started (read 2026-11-16)
- license: https://raw.githubusercontent.com/typeorm/typeorm/master/LICENSE (read 2026-11-16)
- licenseModel: https://raw.githubusercontent.com/typeorm/typeorm/master/LICENSE (read 2026-11-16)
- firstRelease: https://registry.npmjs.org/typeorm (read 2026-11-16)
- currentMajor: https://api.github.com/repos/typeorm/typeorm/releases?per_page=100 (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/typeorm/typeorm/releases/latest (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/typeorm/typeorm (read 2026-11-16)
- contributors: https://api.github.com/repos/typeorm/typeorm/contributors?per_page=1 (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/typeorm (read 2026-11-16)
- ecosystemsMonthlyDownloads: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typeorm (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typeorm (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typeorm (read 2026-11-16)

## Notes

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](https://typeorm.io/docs/getting-started) 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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
