TypeScript ODM / ORM

Open-source TypeScript projects categorized as ODM / ORM

Top 6 TypeScript ODM / ORM Projects

  • RxDB

    A fast, offline-first, reactive Database for JavaScript Applications https://rxdb.info/

    Project mention: Offline First | news.ycombinator.com | 2023-05-18
  • 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.

    Project mention: The Epic Stack by Kent C. Dodds | news.ycombinator.com | 2023-05-12

    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.

    [1] https://mikro-orm.io/

  • 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)

  • slonik

    A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.

    Project mention: The Epic Stack by Kent C. Dodds | news.ycombinator.com | 2023-05-12

    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.

  • Iridium

    A high performance MongoDB ORM for Node.js

  • @Sugoi\orm

    SugoiJS ORM module typescript based - Simple solution for object handling with predefined lifecycle (by sugoiJS)

  • @Sugoi\mongoDB

    SugoiJS MongoDB module - ORM module based (by sugoiJS)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-18.

TypeScript ODM / ORM related posts


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
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.