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

Sequelize

790
1.4K
+ 1
136
TypeORM

566
749
+ 1
74
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 StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Sequelize
Pros of TypeORM
  • 40
    Good ORM for node.js
  • 30
    Easy setup
  • 19
    Support MySQL & MariaDB, PostgreSQL, MSSQL, Sqlite
  • 14
    Open source
  • 13
    Free
  • 11
    Promise Based
  • 4
    Recommend for mongoose users
  • 3
    Atrocious documentation, buggy, issues closed by bots
  • 2
    Typescript
  • 28
    Typescript
  • 10
    Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Ser
  • 9
    Easy setup
  • 7
    Works in NodeJS, Browser, Ionic, Cordova and Electron p
  • 7
    Promise Based
  • 6
    Cons of TypeORM
  • 6
    Support MySQL & MariaDB, PostgreSQL, MSSQL, Sqlite
  • 1
    Support MongoDB

Sign up to add or upvote prosMake informed product decisions

Cons of Sequelize
Cons of TypeORM
  • 30
    Docs are awful
  • 9
    Relations can be confusing
  • 5
    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
  • 1
    Not proper/real type safety

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!

Jobs that mention Sequelize and TypeORM as a desired skillset
CBRE
United Kingdom of Great Britain and Northern Ireland England Birmingham
CBRE
United Kingdom of Great Britain and Northern Ireland England London
What companies use Sequelize?
What companies use TypeORM?
See which teams inside your own company are using Sequelize or TypeORM.
Sign up for StackShare EnterpriseLearn 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.
    Entity Framework
    It is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write.
    See all alternatives