aicoolies logo
TypeORM logo

TypeORM

ORM for TypeScript and JavaScript

Share
open-sourceOpen Source
Visit Website →

Full-featured ORM for TypeScript and JavaScript supporting Active Record and Data Mapper patterns. Works with PostgreSQL, MySQL, MariaDB, SQLite, Oracle, SQL Server, and MongoDB. Features decorator-based entity definitions, migrations, relations (one-to-one, many-to-many), lazy/eager loading, query builder, transactions, and caching. Supports both Node.js and browser runtimes. 34K+ GitHub stars. Mature but losing mindshare to Prisma and Drizzle for new TypeScript projects.

TypeORM is a mature, feature-rich ORM for TypeScript and JavaScript that runs on Node.js, browser, mobile, and desktop platforms, supporting both relational and document databases. It solves the object-relational impedance mismatch problem by allowing developers to define database entities using TypeScript classes and decorators, automatically mapping them to database tables. TypeORM supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, and MongoDB, making it one of the most database-compatible ORMs in the JavaScript ecosystem.

TypeORM is unique among JavaScript ORMs in supporting both Active Record and Data Mapper patterns, giving developers the flexibility to choose the architectural approach that best fits their project. Its built-in QueryBuilder provides an elegant, chainable API for constructing complex SQL queries with joins, pagination, and caching. TypeORM offers automatic migration generation, entity listeners and subscribers for lifecycle hooks, eager and lazy loading of relations, connection pooling, read replication, and a powerful CLI for managing migrations and entity generation.

TypeORM is well-suited for enterprise applications, REST APIs, and full-stack TypeScript projects that require a traditional ORM with comprehensive database support. It integrates naturally with frameworks like NestJS, Express, and Koa, and is widely used in large-scale Node.js applications. Developers coming from Java or C# ORMs like Hibernate or Entity Framework will find TypeORM familiar due to its decorator-based entity definitions and repository pattern, making it a strong choice for teams transitioning to TypeScript from other strongly-typed languages.

Pricing

Free

Platforms

Node.js, Browser, React Native

Categories

Tags

Use Cases

Alternatives

Related Tools

VectorChord logo

VectorChord

High-recall Postgres vector search at billion scale

VectorChord is a Postgres extension from the supervc-stack/VectorChord project that brings high-recall vector search to PostgreSQL. As the spiritual successor to pgvecto.rs, it combines IVF indexes with RaBitQ quantization to deliver Pinecone-class performance at billion-vector scale while keeping all data inside a single Postgres database — no separate vector store, no two-system sync, no rewrites when the workload grows.

open-sourceOpen Source
Infinity logo

Infinity

AI-native database for hybrid RAG retrieval

Infinity is an AI-native database from InfiniFlow that unifies dense vectors, sparse vectors, tensors, and full-text search in a single engine. Built for retrieval-augmented generation (RAG) at scale, it powers hybrid search workflows where lexical matching, semantic similarity, and reranking all happen against one storage layer instead of four loosely coupled services.

open-sourceOpen Source
sqlite-vec logo

sqlite-vec

Vector search extension for SQLite that runs anywhere

sqlite-vec is a lightweight vector search extension for SQLite written in pure C with zero dependencies. It brings nearest-neighbor search capabilities directly into SQLite databases, enabling AI applications to store and query embeddings without running a separate vector database. The extension works everywhere SQLite runs including Linux, macOS, Windows, WebAssembly in browsers, and even Raspberry Pi devices. Sponsored by Mozilla Builders, Fly.io, and Turso.

freeOpen Source
WeKnora logo

WeKnora

Enterprise RAG framework by Tencent

WeKnora is a Tencent-developed LLM-powered knowledge management and Q&A framework for enterprise document understanding and semantic retrieval. Supports 10+ document formats including PDF, Word, Excel, and images with seamless IM platform integration for WeCom, Feishu, Slack, and Telegram. Offers Quick Q&A mode using RAG pipelines and Intelligent Reasoning mode with ReACT agents for complex multi-step reasoning tasks across organizational knowledge bases.

open-sourceOpen Source
Pixeltable logo

Pixeltable

Declarative multimodal AI data infrastructure

Pixeltable is a declarative data infrastructure for multimodal AI that stores video, audio, images, and documents as first-class column types. Define Python computed columns for inference and transformations, and Pixeltable auto-orchestrates execution with incremental updates. Built-in vector search eliminates the need for separate vector databases while supporting RAG and semantic search workflows.

open-sourceOpen Source
USearch logo

USearch

Fast embeddable vector search engine

USearch is a high-performance vector search engine implementing HNSW algorithms for approximate nearest neighbor queries across C++, Python, JavaScript, Rust, Java, Go, and more. It supports user-defined distance metrics, memory-mapped persistence for datasets larger than RAM, and filtered search with predicates. Used by YugabyteDB and ScyllaDB as their production vector indexing backend.

open-sourceOpen Source

Comparisons