flat VS TypeORM

Compare flat vs TypeORM and see what are their differences.


Project flat is the Web, Windows and macOS client of Agora Flat open source classroom. (by netless-io)


ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms. (by typeorm)
Our great sponsors
  • Syncfusion - See why our products are consistently getting 4.6 out of 5 stars by your peers.
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
flat TypeORM
1 65
2,186 25,960
15.0% 1.9%
9.8 9.5
8 days ago 5 days ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of flat. We have used some of these posts to build our list of alternatives and similar projects.


Posts with mentions or reviews of TypeORM. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-16.
  • Why is TypeORM hated so much?
    reddit.com/r/node | 2021-10-16
    Majority of the criticism I see is towards it being buggy and not maintained well. I haven't encountered any serious bugs, and the maintenance seems okay to me, according to Github change log and snyk analysis .
    reddit.com/r/node | 2021-10-16
    This bug is a total showstopper for our app, and it was randomly introduced in a minor version update way back in March: https://github.com/typeorm/typeorm/issues/7736
  • An overview of TypeORM
    dev.to | 2021-10-04
    In this post I have tried to discuss the basic topics of TypeORM briefly. Advanced topics like Migration, Indices, Transactions, Listeners, Subscribers etc have not been discussed here. The official document is very elaborative and nicely explained with lots of examples. You are highly encouraged to have a look at it.
  • Build fast and customizable admin panel with NestJS.
    dev.to | 2021-10-04
    TypeORM is definitely the most mature ORM available in the node.js world. Since it's written in TypeScript, it works pretty well with the Nest framework. I chose mysql as database. TypeORM supports many databases (MySQL, MariaDB, Postgres etc.)
  • query builder problem
    From the docs
  • Does anyone here actually use TypeORM?
  • Nestjs🐺⚡ | The framework of Nodejs (Part-3) | Database Integration, TypeORM
    dev.to | 2021-09-05
    This tutorial isn't about TypeORM but I'll give a little explanation of it to get started. You can find more information about it in their docs
  • How to migrate database data in production?
    reddit.com/r/node | 2021-08-26
    Definitely you should use migrations or a schema diffing tool. Usually schema migration is a feature offered by many ORMs e.g. https://github.com/typeorm/typeorm/blob/master/docs/migrations.md You can also handle migrations with a dedicated SQL only tool like migrate https://github.com/golang-migrate/migrate. Or, as a schema diffing tool, afaik the best one is the one from pgadmin https://www.pgadmin.org/docs/pgadmin4/development/schema_diff.html#:~:text=Schema%20Diff%20is%20a%20feature,(from%20source%20to%20target).
  • Virtual Column solutions for TypeORM
    dev.to | 2021-08-25
    The below article is applicable to TypeORM in version 0.2.37 (released on 08/13/2021). Before reading, check if there is already a new version with a solution to this issue: https://github.com/typeorm/typeorm/releases
  • Any Repos/Courses/Tutorials that cover using Next.js, GraphQL & Express JS?
    reddit.com/r/nextjs | 2021-08-22

What are some alternatives?

When comparing flat and TypeORM you can also consider the following projects:

Sequelize - An easy-to-use multi SQL dialect ORM tool for Node.js

Mongoose - MongoDB object modeling designed to work in an asynchronous environment.

Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite & MongoDB (Preview)

Objection.js - An SQL-friendly ORM for Node.js

Entity Framework - EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.

Bookshelf - A simple Node.js ORM for PostgreSQL, MySQL and SQLite3 built on top of Knex.js

MikroORM - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, PostgreSQL and SQLite databases.

pg-promise - PostgreSQL interface for Node.js

Dapper - Dapper - a simple object mapper for .Net [Moved to: https://github.com/DapperLib/Dapper]

node-mssql - Microsoft SQL Server client for Node.js

Waterline - An adapter-based ORM for Node.js with support for mysql, mongo, postgres, mssql (SQL Server), and more

DataStax Node.js Driver for Apache Cassandra - DataStax Node.js Driver for Apache Cassandra