Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 23 TypeScript ORM Projects
-
TypeORM
ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
Project mention: PHP vs JS en backend, ¿Qué me recomiendas? | reddit.com/r/programacion | 2023-02-07 -
Prisma
Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
2. Prisma
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . 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!
-
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.
I recommend looking at https://mikro-orm.io/
-
-
-
marshal.ts
A new full-featured and high-performance TypeScript framework for enterprise applications.
Project mention: Hegel – An advanced static type checker for JavaScript | news.ycombinator.com | 2022-10-11https://deepkit.io/ may be of interest to you! It deeply patches the TS type compiler to make all types visible at runtime, enabling a lot of annotation-style workflows and dependency injection possible completely within the type annotation system: https://docs.deepkit.io/english/runtime-types.html
Previous discussion: https://news.ycombinator.com/item?id=31663298 - it's downright mindblowing that all this seems to be the work of primarily a single developer.
For a less intrusive solution, https://github.com/jquense/yup is a great library to reach for whenever you're defining the shape of a network-transmitted object and don't want to introduce compilation stages.
-
You're absolutely right. I should have mentionned that the app uses Vuex-ORM to handle and query the data. The actual building of the reports contains various calculations and is done off the main thread. The reports are then saved as a model in vuex-orm, this basicaly acts as a cache. The thing is I don't know when to invalidate the cache or not so everything is invalidated when a new data event is added. There's nothing reactive about it.
-
Sonar
Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
denoDB? https://github.com/eveningkid/denodb
-
foal
Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.
-
Project mention: Building a Full-stack Application with TypeScript and React Using Remult | dev.to | 2022-11-01
Now that you’ve learned about Remult, how would you use it in your next project? To learn more about Remult, check out the official documentation.
-
Finally, after two years of hard work, Layr v2 is out.
-
Requiring the user to define model classes for the "ORM" is a massive pain in large codebases and requiring the user to maintain these is just too much boilerplate. Seems extremely bloated compared to the simplicity of how the shortcuts are implemented in Zapatos or similar libraries where 90% of the code is compiled away for production.
-
lucid
AdonisJS SQL ORM. Supports PostgreSQL, MySQL, MSSQL, Redshift, SQLite and many more (by adonisjs)
When I started this project I was inspired by Lucid which is the ORM of the Adonis.js framework.
-
-
It supports both REST and GraphQL APIs, it can delay the response of mocked API endpoints so the endpoint feels more real-life, it has it's own in-memory database with @msw/data package for more complex querying (e.g, searching, sorting), it can also run mocks in NodeJS environment instead of Service Worker (really useful for testing). Next, let's take a look at which problems msw can solve and how.
-
Project mention: An ORM which only does object relational mapping | reddit.com/r/Database | 2022-05-09
-
To that end, you'll say. "Well what do you do then?" And from my reading, it appears we end up back at Object Oriented Programming 🎉. [DynamoDb Toolbox] seems like a moderately popular library for accomplishing this in node. I've also talked with a friend who makes heavy use of it and he had no complaints. A newer player in the space is TypeDORM taking heavy inspiration from TypeORM and using DynamoDb Toolbox under the hood. Personally I've yet to use this tool but it's for sure on my short list to try out.
-
aurora
CLI tool that orchestrates prisma files in a way that allows multiple .prisma files with cross-relations (by sabinadams)
-
-
If you use a standard Pinia store, you can use plug-ins. For example, you can use pinia-plugin-persistedstate to let the user start each new session where they left off. Or you can use pinia-orm to simplify handling large amounts of tabular data.
-
I stumbled across it today, and it looks really promising to me. Anyone have any experience with it? Here is the GitHub page: https://github.com/drizzle-team/drizzle-orm
-
strapi-connector-firestore
Strapi database connector for Firestore database on Google Cloud Platform.
-
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
TypeScript ORM related posts
- PHP vs JS en backend, ¿Qué me recomiendas?
- [Safe-TypeORM] AnyORM becomes the real TypeORM
- Has anybody tried using Prisma in Python n production?
- How to build a collaborative SaaS product using Next.js and ZenStack's access control policy
- Announcing a new TypeScript ORM
- Startchart: Prisma Schema
- Prisma adds support for multiple schemas and table views!!
-
A note from our sponsor - Sonar
www.sonarsource.com | 8 Feb 2023
Index
What are some of the best open-source ORM projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | TypeORM | 30,280 |
2 | Prisma | 28,877 |
3 | MikroORM | 5,547 |
4 | sequelize-auto | 2,731 |
5 | sequelize-typescript | 2,518 |
6 | marshal.ts | 2,475 |
7 | vuex-orm | 2,374 |
8 | denodb | 1,860 |
9 | foal | 1,720 |
10 | remult | 1,707 |
11 | layr | 1,214 |
12 | zapatos | 921 |
13 | lucid | 863 |
14 | Iridium | 569 |
15 | data | 532 |
16 | pure-orm | 353 |
17 | typedorm | 289 |
18 | aurora | 199 |
19 | safe-typeorm | 191 |
20 | pinia-orm | 181 |
21 | drizzle-orm | 174 |
22 | strapi-connector-firestore | 153 |
23 | joist-ts | 130 |