Looking for a mature alternative to TypeORM

This page summarizes the projects mentioned and recommended in the original post on /r/typescript

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • TypeORM

    ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

  • Yesterday, I encountered a bug where an undefined property is popping out of nowhere. After a lot of debugging as today, it came from this issue https://github.com/typeorm/typeorm/issues/7619 . After calling "save", afterLoad is triggered but with an entity with undefined properties. This issue is just at one year anniversary today. This is just an example.

  • MikroORM

    TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.

  • No such library exists. There are no ORMs in JavaScript that are nearly as mature as Doctrine. The closest thing that you're going to get is MikroORM. It's strongly based on Doctrine. I think it might be the only maintained ORM in JavaScript with the identity map pattern.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • pgtyped

    pgTyped - Typesafe SQL in TypeScript

  • Not an ORM but we’re running in production with https://github.com/adelsz/pgtyped which is very good.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts