Coding

TypeORM – ORM for TypeScript and JavaScript

TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8). Its goal is to always support the latest JavaScript features and provide additional features that help you to develop any kind of application that uses databases – from small applications with a few tables to large scale enterprise applications with multiple databases.

TypeORM supports both Active Record and Data Mapper patterns, unlike all other JavaScript ORMs currently in existence, which means you can write high quality, loosely coupled, scalable, maintainable applications the most productive way.

TypeORM is highly influenced by other ORMs, such as Hibernate, Doctrine and Entity Framework.

Key Features

  • Supports both DataMapper and ActiveRecord.
  • Entities and columns.
  • Database-specific column types.
  • Entity manager.
  • Repositories and custom repositories.
  • Clean object relational model.
  • Associations (relations).
  • Eager and lazy relations.
  • Uni-directional, bi-directional and self-referenced relations.
  • Supports multiple inheritance patterns.
  • Cascades.
  • Indices.
  • Transactions.
  • Migrations and automatic migrations generation.
  • Connection pooling.
  • Replication.
  • Using multiple database connections.
  • Working with multiple databases types.
  • Cross-database and cross-schema queries.
  • Elegant-syntax, flexible and powerful QueryBuilder.
  • Left and inner joins.
  • Proper pagination for queries using joins.
  • Query caching.
  • Streaming raw results.
  • Logging.
  • Listeners and subscribers (hooks).
  • Supports closure table pattern.
  • Schema declaration in models or separate configuration files.
  • Connection configuration in json / xml / yml / env formats.
  • Supports MySQL / MariaDB / Postgres / CockroachDB / SQLite / Microsoft SQL Server / Oracle / SAP Hana / sql.js.
  • Supports MongoDB NoSQL database.
  • Works in NodeJS / Browser / Ionic / Cordova / React Native / NativeScript / Expo / Electron platforms.
  • TypeScript and JavaScript support.
  • Produced code is performant, flexible, clean and maintainable.
  • Follows all possible best practices.
  • CLI.

Website: typeorm.io
Support: GitHub Code Repository
Developer: Yakdu
License: MIT License

TypeORM is written in TypeScript. Learn TypeScript with our recommended free books and free tutorials.

Return to TypeScript ORM Software


Related Software

TypeScript Object-Relational Mapping Software
SequelizePromise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and more
TypeORMORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic ...
PrismaNext-generation Node.js and TypeScript ORM
Drizzle ORMLightweight TypeScript toolkit for type-safe SQL database access
Objection.jsORM for Node.js that aims to stay out of your way
MikroORMORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns
LucidActive Record database layer designed for AdonisJS applications
JoistOpinionated TypeScript data layer with strong typing and relations

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted