TypeScript ORM

Open-source TypeScript projects categorized as ORM

Top 23 TypeScript ORM Projects

  1. Prisma

    Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

    Project mention: 5 Must-Watch Tutorials to Build Your SaaS App in 2025 | dev.to | 2025-02-27

    The tutorial starts by creating a Next.js project and setting up Shadcn UI and Aceternity UI for premade front-end components, with TailwindCSS for styling. Next, you will use Prisma ORM to create data models and generate schemas for Neon's Postgres database. The tutorial also covers file uploads using Uploadcare, Clerk to handle authentication, and creating a billing system with Stripe that allows users to purchase different plans.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. 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.

    Project mention: Using OpenAPI to Automate API Integration With Rapyd's Payment Gateway | dev.to | 2025-03-11

    TypeORM as the ORM

  4. Sequelize

    Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.

    Project mention: How To Secure APIs from SQL Injection Vulnerabilities | dev.to | 2025-03-19

    Object-Relational Mapping frameworks like Hibernate (Java), SQLAlchemy (Python), and Sequelize (Node.js) typically use parameterized queries by default and abstract direct SQL interaction. These frameworks help eliminate common developer errors that might otherwise introduce vulnerabilities.

  5. drizzle-orm

    Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too πŸ˜…

    Project mention: Simplifying Test Data Generation with Drizzle ORM | dev.to | 2025-03-16

    To simplify test data generation, we developed the @praha/drizzle-factory package, which leverages Drizzle ORM. This article introduces the basic usage of @praha/drizzle-factory.

  6. 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.

    Project mention: Show HN: DBOS TypeScript – Lightweight Durable Execution Built on Postgres | news.ycombinator.com | 2025-01-16
  7. supabase-js

    An isomorphic Javascript client for Supabase. Query your Supabase database, subscribe to realtime events, upload and download files, browse typescript examples, invoke postgres functions via rpc, invoke supabase edge functions, query pgvector.

    Project mention: Supabase Python | dev.to | 2024-08-30

    supabase-py was originally started by maintainer lqmanh in September of 2020, and was shortly after joined by fedden and J0 (who went on to become a full time member of the Supabase Team). In recent years development has been driven by silentworks and juancarlospaco who have both been instrumental in the push to reaching feature parity with supabase-js.

  8. marshal.ts

    A new full-featured and high-performance TypeScript framework

    Project mention: Deepkit Framework: Revolutionizing Web App Development at Enterprise Scale | news.ycombinator.com | 2024-05-13
  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. remult

    Full-stack CRUD, simplified, with SSOT TypeScript entities

    Project mention: Ask HN: Modern Meteor.js Alternative Stack? | news.ycombinator.com | 2024-07-08
  11. sequelize-auto

    Automatically generate bare sequelize models from your database.

  12. sequelize-typescript

    Decorators and some other features for sequelize

  13. zenstack

    Fullstack TypeScript toolkit that enhances Prisma ORM with flexible Authorization layer for RBAC/ABAC/PBAC/ReBAC, offering auto-generated type-safe APIs and frontend hooks.

    Project mention: Automatically Generate REST and GraphQL APIs From Your Database | dev.to | 2024-12-19

    Prisma combined with ZenStack offers a more programmatic approach. While requiring more setup than PostgREST, it provides better TypeScript integration and more control over the generated API. This combination excels in projects where type safety and custom business logic are priorities.

  14. vuex-orm

    The Vuex plugin to enable Object-Relational Mapping access to the Vuex Store.

  15. denodb

    MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno

  16. foal

    Full-featured Node.js framework πŸš€

    Project mention: Node.JS - Foal framework version 4.5 is released πŸŽ‰ | dev.to | 2024-08-24

    Version 4.5 of Foal, a full-featured Node.JS framework for building web applications, is out!

  17. zapatos

    Zero-abstraction Postgres for TypeScript: a non-ORM database library

  18. layr

    Dramatically simplify full‑stack development

  19. data

    Data modeling and relation library for testing JavaScript applications. (by mswjs)

  20. Nano-SQL

    Universal database layer for the client, server & mobile devices. It's like Lego for databases.

  21. dynamodb-onetable

    DynamoDB access and management for one table designs with NodeJS

  22. Iridium

    A high performance MongoDB ORM for Node.js

  23. orchid-orm

    Orchid ORM

  24. typedorm

    Strongly typed ORM for DynamoDB - Built with the single-table-design pattern in mind.

  25. schemix

    Schemix allows you to programmatically create Prisma schemas using TypeScript ⌨️

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

TypeScript ORM discussion

Log in or Post with

TypeScript ORM related posts

  • Simplifying Test Data Generation with Drizzle ORM

    3 projects | dev.to | 16 Mar 2025
  • 5+1 Tools To Make You A Better Fullstack Developer

    1 project | dev.to | 6 Feb 2025
  • How to connect to an Azure-hosted managed identities postgres server from a node app using the Prisma ORM

    1 project | dev.to | 21 Jan 2025
  • Tech Stack 2025

    3 projects | dev.to | 3 Jan 2025
  • Creating Typescript app with decorator-based dependency injection πŸ’‰

    2 projects | dev.to | 29 Dec 2024
  • Code as Doc: Automate by Vercel AI SDK and ZenStack for Free

    2 projects | dev.to | 22 Dec 2024
  • Prisma: Could not parse schema engine response

    1 project | dev.to | 19 Dec 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 19 Mar 2025
    SaaSHub helps you find the best software and product alternatives Learn more β†’

Index

What are some of the best open-source ORM projects in TypeScript? This list will help you:

# Project Stars
1 Prisma 41,549
2 TypeORM 35,054
3 Sequelize 29,850
4 drizzle-orm 26,888
5 MikroORM 8,117
6 supabase-js 3,494
7 marshal.ts 3,292
8 remult 2,986
9 sequelize-auto 2,920
10 sequelize-typescript 2,813
11 zenstack 2,387
12 vuex-orm 2,347
13 denodb 1,932
14 foal 1,914
15 zapatos 1,325
16 layr 1,210
17 data 861
18 Nano-SQL 784
19 dynamodb-onetable 699
20 Iridium 570
21 orchid-orm 514
22 typedorm 490
23 schemix 486

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?