Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more! Learn more →
Top 6 TypeScript ODM / ORM Projects
-
-
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.
It also does code generation into its own module, so good luck with hoisting in a monorepo where you want multiple independent prisma schemas. MikroORM[1] is a much better alternative to Prisma in my opinion but any ORM carries some form of baggage.
-
Klotho
AWS Cloud-aware infrastructure-from-code toolbox [NEW]. Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)
-
Have you tried Slonik (https://github.com/gajus/slonik)? It won't generate types from queries automatically, but it encourages writing SQL vs. a query builder and allows type annotations of queries with Zod. Query results are validated at runtime to ensure the queries are typed correctly.
-
-
@Sugoi\orm
SugoiJS ORM module typescript based - Simple solution for object handling with predefined lifecycle (by sugoiJS)
-
TypeScript ODM / ORM related posts
- Node Abstract Repository for MongoDB
- Offline First
- The Epic Stack by Kent C. Dodds
- The History of Slonik, the PostgreSQL Elephant Logo
- 🔍 RxDB: The Reactive Database Solution for Angular Apps 🌐
- TIL that you don’t shouldn’t be generating TypeScript declarations for a distributable library
- Drizzle - An ORM that lets you just write SQL
-
A note from our sponsor - Appwrite
appwrite.io | 5 Jun 2023
Index
What are some of the best open-source ODM / ORM projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | RxDB | 19,252 |
2 | MikroORM | 6,075 |
3 | slonik | 3,887 |
4 | Iridium | 569 |
5 | @Sugoi\orm | 5 |
6 | @Sugoi\mongoDB | 4 |