TypeScript Database

Open-source TypeScript projects categorized as Database

Top 17 TypeScript Database 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.

    Latest mention: Getting Yourself Acquainted with TypeORM | dev.to | 2021-01-27

    From here we can understand pretty much the rest of this code. We are just adding regular columns to our User class. You can customize the columns quite a bit. I will quickly go over what I do in my next column and then you'll be off to the races!

  • RxDB

    🔄 A realtime Database for JavaScript Applications

  • Redis

    🚀 A robust, performance-focused and full-featured Redis client for Node.js.

  • Prisma

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

    Latest mention: Any ORMs that don't use classes for entities? | reddit.com/r/typescript | 2021-01-26

    The TLDR is: - we grew the team and built out proper Product and Engineering teams - our entire engineering process is happening on GitHub - we regularly triage and prioritize all the issues in our GitHub repo (typically within 1-2 days) - we have a public roadmap that provides insights into the features that are planned over the next couple of months - we issue new releases with new features and improvements every two weeks - our Slack is incredibly active and we make sure to help all users that raise questions there (plus we have lots of community members that are helping each other our as well) - you can ask questions and initiate conversations about Prisma via GitHub discussions

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

    Latest mention: Dynamically created functions are the future! | reddit.com/r/badcode | 2021-01-14

    Fun fact: in some cases this can help the JIT compiler produce superfast code

  • slonik

    A PostgreSQL client with strict types, detailed logging and assertions.

    Latest mention: Any ORMs that don't use classes for entities? | reddit.com/r/typescript | 2021-01-26

    If you prefer to work on a lower level of abstraction than an ORM (i.e., plain SQL) and ensure type-safety on your DB layer, I'd recommend to check out a tool like Slonik or pgtyped :)

  • layr

    Dramatically simplify full‑stack development

    Latest mention: Good Bye Web APIs | dev.to | 2020-11-22

    With Layr, the frontend and the backend are physically separated (they run in different environments) but logically reunited (it's as if they were in the same environment).

  • Iridium

    A high performance MongoDB ORM for Node.js

  • Mongo Seeding

    The ultimate solution for populating your MongoDB database.

    Latest mention: Create Docker container with mongo and seed data. | reddit.com/r/mongodb | 2020-12-21

    I usually use mongo seeding (https://github.com/pkosiec/mongo-seeding) instead of mongoimport. I find the cli much more flexible.

  • @databases

    TypeScript clients for databases that prevent SQL Injection

  • Sqlmancer

    Conjure SQL from GraphQL queries 🧙🔮✨

  • azure-database

    Azure Database (Table Storage and more) module for Nest framework (node.js) ☁️

    Latest mention: Cosmos DB SQL API for NestJS and Dynamic Module | dev.to | 2020-09-19

    Thanks to the beauty of open-source software, usually within a 30 minutes search, I would find a module that would satisfy my needs. So, I searched far and wide and found @nest/azure-database.

  • reventlou

    Personal db information management system.

    Latest mention: developing an info management system which is kinda a personal database. It's in typescript using redisearch under the hood. I am looking for people who might wanna help with this project. Maybe someone has experience with redis since this is a struggle right now. Might wanna swing by to criticize. | reddit.com/r/coding | 2021-01-06
  • helppo

    Plug-n-play database management interface (CRUD)

    Latest mention: Styling a native date input into a custom, no-library datepicker | dev.to | 2020-10-26

    For Helppo users, I wanted to offer a way to edit date and datetime values more conveniently than with a plain text input. This is of course nothing new; most sites use datepickers for this purpose.

  • @Sugoi\orm

    SugoiJS ORM module typescript based - Simple solution for object handling with predefined lifecycle

  • sqldumpjs

    A tiny wrapper around mysqldump utility to generate a dump file of a MySQL database.

    Latest mention: MySQLDump.js - A tiny wrapper around mysqldump utility to generate a dump file of a MySQL database. | reddit.com/r/coolgithubprojects | 2021-01-13
  • @Sugoi\mongoDB

    SugoiJS MongoDB module - ORM module based

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 2021-01-27.


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

Project Stars
1 TypeORM 22,792
2 RxDB 15,036
3 Redis 8,562
4 Prisma 7,658
5 MikroORM 2,454
6 slonik 2,006
7 layr 1,086
8 Iridium 567
9 Mongo Seeding 324
10 @databases 128
11 Sqlmancer 113
12 azure-database 63
13 reventlou 16
14 helppo 10
15 @Sugoi\orm 5
16 sqldumpjs 4
17 @Sugoi\mongoDB 3