Our great sponsors
-
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.
-
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.
-
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.
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.
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.
Not an ORM but we’re running in production with https://github.com/adelsz/pgtyped which is very good.