TypeORM

Open source

ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

Contribute


Become a financial contributor.

Financial Contributions

Recurring contribution

Like

Donate TypeORM a monthly like if you like us!

$5 USD / month

Latest activity by


+ 73
Recurring contribution

Love

If you love TypeORM you can donate and support us to continue our activities.

$20 USD / month

Latest activity by


+ 14
Recurring contribution

Sponsor

Open source is hard and time-consuming. If you want to invest into TypeORM's future you can become a sponsor and make our core team to spend more t... Read more

Starts at$50 USD / month

Latest activity by


+ 18
Recurring contribution

Gold Sponsor

Become a gold sponsor and get a premium technical support from our core contributors.

Starts at$500 USD / month

Latest activity by


Custom contribution

Donation

Make a custom one-time or recurring contribution.

Latest activity by


+ 224

Top financial contributors

Organizations

1
Visitu

$6,500 USD since Jun 2019

2
Cockroach Labs

$5,000 USD since Mar 2019

3
Aplas

$2,800 USD since Dec 2018

4
Cue

$1,500 USD since Mar 2019

5
VoterCircle Inc

$1,400 USD since Dec 2018

6
Reposit

$1,220 USD since Aug 2018

7
mantro GmbH

$900 USD since Jan 2019

8
LifeX Aps

$900 USD since Mar 2020

9
EnergyRM

$800 USD since May 2020

10
Vendure

$620 USD since Dec 2018

Individuals

1
Maxim Makarov

$3,000 USD since Jan 2019

2
Attila Olah

$2,120 USD since Nov 2017

3
Uri Goldshtein

$2,000 USD since May 2018

4
Thomas Bergheim

$2,000 USD since Sep 2019

5
Matthew Morgan

$1,700 USD since Nov 2018

6
Ethan Fairweather

$1,300 USD since Jan 2018

7
Sascha Jungfer

$685 USD since Jul 2018

8
Vasil Rangelov

$480 USD since Sep 2019

9
Andrew Brower

$460 USD since Dec 2018

10
AmirSaber Sharifi

$400 USD since Oct 2017

TypeORM is all of us

Our contributors 230

Thank you for supporting TypeORM.

Visitu

Gold Sponsor

$6,500 USD

Cockroach Labs

$5,000 USD

Nice work adding CockroachDB support 🎉

Maxim Makarov

Gold Sponsor

$3,000 USD

Aplas

Sponsor

$2,800 USD

Attila Olah

Sponsor

$2,120 USD

Uri Goldshtein

Gold Sponsor

$2,000 USD

I love this library. Help me so much every day ...

Thomas Bergheim

Gold Sponsor

$2,000 USD

Matthew Morgan

Sponsor

$1,700 USD

Cue

Sponsor

$1,500 USD

VoterCircle Inc

Sponsor

$1,400 USD

Budget


Transparent and open finances.

$
Today’s balance

$15,926.18 USD

Total raised

$41,389.60 USD

Total disbursed

$25,463.42 USD

Estimated annual budget

$12,343.88 USD

About


TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap and Ionic platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7). Its goal to always support latest JavaScript features and provide features that help you to develop any kind of applications that use 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 exist, 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.

Some of TypeORM features:

  • supports both DataMapper and ActiveRecord (your choice)
  • 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 / SQLite / Microsoft SQL Server / Oracle / WebSQL
  • supports MongoDB NoSQL database
  • works in NodeJS / Browser / Ionic / Cordova / Electron platforms
  • TypeScript and JavaScript support
  • produced code is performant, flexible, clean and maintainable
  • follows all possible best practices
  • CLI

And more…

Our team