qmetrics.net

TypeORM

TypeScript and JavaScript ORM for many SQL and NoSQL databases

TypeORM screenshot

TypeORM maps objects to relational and document databases from Node.js, browsers, and mobile shells. It supports TypeScript and JavaScript with both Data Mapper and Active Record styles.

Overview

TypeORM is an object-relational mapper aimed at applications that use databases from small schemas to multi-database enterprise setups. It runs in Node.js and also in browser, Cordova, Ionic, React Native, NativeScript, Expo, and Electron environments.

The library advertises support for many engines, including PostgreSQL, MySQL and MariaDB, SQLite, Microsoft SQL Server, Oracle, MongoDB, Google Spanner, SAP HANA, CockroachDB, and related drivers. You can choose Data Mapper or Active Record patterns when modeling entities and writing domain logic.

Feature areas include entities and columns, associations with eager and lazy loading, transactions, migrations with auto-generation, connection pooling, replication, multiple database instances, and a QueryBuilder for joins and pagination. Hooks, listeners, subscribers, caching, and streaming raw results are also part of the surface.

Schema can be declared in models or separate configuration files. The project ships a CLI and supports both ESM and CommonJS module formats for generated code.

Key features

  • Data Mapper and Active Record patterns
  • Broad SQL and MongoDB support
  • Migrations and schema management
  • QueryBuilder with joins and pagination
  • Relations, cascades, and transactions
  • Connection pooling and replication
  • TypeScript-first entity definitions
  • Command-line tooling

Use cases

  • Node.js APIs backed by SQL databases
  • Cross-platform apps sharing one ORM layer
  • Projects needing migration workflows
  • Teams preferring decorator-based entities
  • Applications spanning multiple database types

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

GORM

Feature-rich ORM library for Go applications

GORM maps Go structs to SQL databases with migrations, associations, hooks, and a fluent query API. It targets developer-friendly access patterns for common CRUD and relationship modeling.

★ 40k⟳ 1 month agoMIT
Frameworks & PlatformsDesktop/CLI app

MyBatis 3

Java SQL mapper with XML or annotation config

MyBatis links Java objects to SQL and stored procedures via XML or annotations. It trims repetitive JDBC parameter and result handling.

★ 20.4k⟳ yesterdayApache-2.0

Node Redis

High-performance Redis client for Node.js

node-redis connects Node.js applications to Redis with typed commands, clustering, pub/sub, transactions, and optional client-side caching.

★ 17.6k⟳ yesterdayMIT
Frameworks & PlatformsDesktop/CLI app

MyBatis-Plus

Enhanced MyBatis toolkit for Java database access

MyBatis-Plus extends MyBatis with code generation, conditional query builders, and pagination helpers. It stays compatible with MyBatis while adding convenience APIs for common CRUD work.

★ 17.5k⟳ todayApache-2.0
Frameworks & PlatformsDesktop/CLI app

Efcore

.NET object-relational mapper with migrations and LINQ

Entity Framework Core maps .NET objects to relational databases, supports LINQ queries, change tracking, updates, and schema migrations via provider packages.

★ 14.8k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app