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.

Become a contributor

Financial contributions

Custom contribution

Donation

Make a custom one time or recurring contribution to support this collective.
+ 121

102 individuals and 23 organizations have contributed

Recurring contribution

Like

Donate TypeORM a monthly like if you like us!

$5 USD / month

+ 44

44 individuals and 4 organizations have contributed

Recurring contribution

Love

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

$20 USD / month

+ 7

7 individuals and 4 organizations have contributed

Recurring contribution

Sponsor

Open source is hard and time-consuming. If you want to invest into TypeORM's future you can becom... Read more

Starts at

$50 USD / month

+ 10

3 individuals and 11 organizations have contributed

Recurring contribution

Gold Sponsor

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

Starts at

$500 USD / month

3 individuals have contributed

Top financial contributors

Organizations

1

Cockroach Labs

$5k USD since Mar 2019

2

VoterCircle Inc

$1k USD since Dec 2018

3

HiveHub

$1k USD since Dec 2018

4

Reposit

$1k USD since Aug 2018

5

Visitu

$1k USD since Jun 2019

6

mantro GmbH

$600 USD since Jan 2019

7

Royce Corporation

$500 USD since Mar 2019

8

Cue

$500 USD since Mar 2019

9

Ever

$350 USD since Mar 2019

10

Quala

$260 USD since Dec 2018

Individuals

1

Maxim Makarov

$3k USD since Jan 2019

2

Uri Goldshtein

$2k USD since May 2018

3

Ethan Fairweather

$1k USD since Jan 2018

4

Attila Olah

$1k USD since Nov 2017

5

Matthew Morgan

$700 USD since Nov 2018

6

Thomas Bergheim

$500 USD since Sep 2019

7

AmirSaber Sharifi

$400 USD since Oct 2017

8

Sascha Jungfer

$360 USD since Jul 2018

9

Andrew Brower

$260 USD since Dec 2018

10

Greg Zapp

$240 USD since Jan 2018

Budget

See how money openly circulates through TypeORM. All contributions and all expenses are published in our transparent public ledger. Learn who is donating, how much, where is that money going, submit expenses, get reimbursed and more!

Donation to TypeORM

Joe Flateau | using a Gift card from Salesforce | 12/6/2019 | View Details 
+$5.00USD

Monthly donation to TypeORM (Awesome 🤗)

anonymous | 12/6/2019 | View Details 
+$5.00USD

Monthly donation to TypeORM (Sponsor)

HiveHub | 12/3/2019 | View Details 
+$100.00USD

Today’s balance

$12,998.04 USD

Estimated annual budget

~ $18,882.55 USD

TypeORM is all of us

Our contributors 127

Everyone who has supported TypeORM. Individuals and organizations that believe in –and take ownership of– our purpose.

Umed Khudoibe...
Collective Admin
alexmesser
Collective Admin
Cockroach Labs
Financial Contributor

Total contributions

$5,000 USD

Nice work adding CockroachDB support 🎉

Maxim Makarov
Financial Contributor

Total contributions

$3,000 USD

Uri Goldshtein
Financial Contributor

Total contributions

$2,000 USD

I love this library. Help me so much every day with so many products, projects and clients! The future is bright for this one!

Ethan Fairwea...
Financial Contributor

Total contributions

$1,300 USD

VoterCircle Inc
Financial Contributor

Total contributions

$1,300 USD

HiveHub
Financial Contributor

Total contributions

$1,300 USD

Attila Olah
Financial Contributor

Total contributions

$1,210 USD

Reposit
Financial Contributor

Total contributions

$1,140 USD

Visitu
Financial Contributor

Total contributions

$1,000 USD

Matthew Morgan
Financial Contributor

Total contributions

$700 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...