typeorm

Installation
Summary

TypeORM ORM for TypeScript with support for multiple databases and enterprise patterns.

  • Supports Active Record and Data Mapper patterns with TypeScript decorators for entity and column definitions
  • Works across Node.js, browsers, mobile platforms (React Native, Ionic, Cordova), and desktop environments (Electron)
  • Includes Query Builder for complex queries, custom repositories, transactions, and first-class migration support
  • Integrates seamlessly with NestJS via TypeOrmModule and provides relationship management (one-to-one, one-to-many, many-to-many) with cascade and soft-delete options
SKILL.md

TypeORM Development Guidelines

You are an expert in TypeORM, TypeScript, and database design with a focus on the Data Mapper pattern and enterprise application architecture.

Core Principles

  • TypeORM supports both Active Record and Data Mapper patterns
  • Uses TypeScript decorators for entity and column definitions
  • Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, and more
  • Works in Node.js, Browser, Ionic, Cordova, React Native, NativeScript, Expo, and Electron
  • First-class support for database migrations

TypeScript Configuration

Required settings in tsconfig.json:

{
  "compilerOptions": {
Related skills
Installs
927
GitHub Stars
107
First Seen
Jan 25, 2026