Need advice about which tool to choose?Ask the StackShare community!

Sequelize

598
1.1K
+ 1
109
TypeORM

342
562
+ 1
48
Add tool

Sequelize vs TypeORM: What are the differences?

Developers describe Sequelize as "Easy-to-use multi sql dialect ORM for Node.js & io.js". Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more. On the other hand, TypeORM is detailed as "An ORM that can run in NodeJS and others". It 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.

Sequelize belongs to "Object Relational Mapper (ORM)" category of the tech stack, while TypeORM can be primarily classified under "Microframeworks (Backend)".

Sequelize and TypeORM are both open source tools. Sequelize with 19.2K GitHub stars and 3.01K forks on GitHub appears to be more popular than TypeORM with 13.9K GitHub stars and 1.75K GitHub forks.

According to the StackShare community, Sequelize has a broader approval, being mentioned in 38 company stacks & 33 developers stacks; compared to TypeORM, which is listed in 6 company stacks and 7 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Sequelize
Pros of TypeORM
  • 33
    Good ORM for node.js
  • 25
    Easy setup
  • 15
    Support MySQL & MariaDB, PostgreSQL, MSSQL, Sqlite
  • 12
    Open source
  • 11
    Free
  • 8
    Promise Based
  • 2
    Recommend for mongoose users
  • 2
    Atrocious documentation, buggy, issues closed by bots
  • 1
    Typescript
  • 21
    Typescript
  • 7
    Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Ser
  • 6
    Easy setup
  • 5
    Works in NodeJS, Browser, Ionic, Cordova and Electron p
  • 5
    Support MySQL & MariaDB, PostgreSQL, MSSQL, Sqlite
  • 4
    Promise Based

Sign up to add or upvote prosMake informed product decisions

Cons of Sequelize
Cons of TypeORM
  • 27
    Docs are awful
  • 5
    Relations can be confusing
  • 3
    Completely abandoned by its creator
  • 3
    Too complex for what it does
  • 2
    Doesn't really support native javascript
  • 1
    Cannot use query on any relation

Sign up to add or upvote consMake informed product decisions

What is Sequelize?

Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.

What is TypeORM?

It 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.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Sequelize?
What companies use TypeORM?
See which teams inside your own company are using Sequelize or TypeORM.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Sequelize?
What tools integrate with TypeORM?
    No integrations found

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Sequelize and TypeORM?
    Marvel
    A super simple tool that turns any image (including PSDs) or sketch into interactive prototypes for any device. Powered by Dropbox.
    Sequel
    It is a simple, flexible, and powerful SQL database access toolkit for Ruby. It includes a comprehensive ORM layer for mapping records to Ruby objects and handling associated records.
    Mongoose
    Let's face it, writing MongoDB validation, casting and business logic boilerplate is a drag. That's why we wrote Mongoose. Mongoose provides a straight-forward, schema-based solution to modeling your application data and includes built-in type casting, validation, query building, business logic hooks and more, out of the box.
    Prisma
    Prisma is an open-source database toolkit. It replaces traditional ORMs and makes database access easy with an auto-generated query builder for TypeScript & Node.js.
    Hibernate
    Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
    See all alternatives