awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

类型安全 TypeScript ORM 库

排名更新于 2026年6月30日

For 适用于 TypeScript 应用的类型安全 ORM, the strongest matches are prismagraphql/prisma (Prisma is a leading type-safe ORM for TypeScript and), prisma/prisma (Prisma is a type-safe ORM that generates fully typed) and prisma/prisma1 (Prisma1 is a TypeScript-first ORM that generates a fully). mikro-orm/mikro-orm and drizzle-team/drizzle-orm round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

这些库为 Node.js 和 TypeScript 应用提供了具备完整类型安全性的稳健数据库交互方案。

类型安全 TypeScript ORM 库

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • prismagraphql/prismaprismagraphql 的头像

    prismagraphql/prisma

    16,393在 GitHub 上查看↗

    Prisma is a type-safe database object-relational mapper that uses a declarative schema to map data models to relational and document databases. It provides a unified toolkit for data access, combining a database driver with tools for schema management and record manipulation. The project features a multi-database driver that standardizes interactions across PostgreSQL, MySQL, and MongoDB. It includes a system for tracking and applying structural schema migrations across different environments and a graphical user interface for browsing and editing database records. The system ensures data in

    Prisma is a leading type-safe ORM for TypeScript and Node.js that uses a declarative schema to generate a fully typed client, supports migrations, and works with multiple databases—exactly the compile-time type-safe tool this search is after.

    ScalaType-Safe Query BuildersDatabase Dialect AdaptersType-Safe Client Generators
    在 GitHub 上查看↗16,393
  • prisma/prismaprisma 的头像

    prisma/prisma

    46,366在 GitHub 上查看↗

    Prisma is a database toolkit that provides a unified access layer for interacting with relational and document databases. It centers on a declarative schema modeling approach, where developers define their data structures in a human-readable language. This schema serves as the single source of truth, from which the toolkit automatically generates type-safe database clients that provide compile-time validation and editor autocomplete for all data operations. The project distinguishes itself through a high-performance, Rust-based query engine that handles query planning and connection pooling o

    Prisma is a type-safe ORM that generates fully typed database clients from a declarative schema, provides a query builder with compile-time validation, migration management, and supports multiple databases—exactly what this search requires.

    TypeScriptType-Safe Query BuildersType-Safe Client GeneratorsType-Safe Database Clients
    在 GitHub 上查看↗46,366
  • prisma/prisma1prisma 的头像

    prisma/prisma1

    16,393在 GitHub 上查看↗

    Prisma1 is a TypeScript object-relational mapper and type-safe database client designed for interacting with relational databases. It functions as a system for declarative schema modeling, where database structures are defined in a single schema file that automatically synchronizes with the underlying database. The project provides a type-safe query builder that generates a custom client to ensure database queries match defined schema types at compile time. It also includes a database GUI administrator, providing a visual web interface for browsing, editing, and managing relational database r

    Prisma1 is a TypeScript-first ORM that generates a fully type-safe database client from a declarative schema, includes migration management and a visual database GUI — it squarely fits the search for a type-safe ORM with compile-time type safety and TypeScript integration.

    ScalaDatabase MigrationsType-Safe Query BuildersType-Safe Client Generators
    在 GitHub 上查看↗16,393
  • mikro-orm/mikro-ormmikro-orm 的头像

    mikro-orm/mikro-orm

    9,085在 GitHub 上查看↗

    Mikro-ORM is a TypeScript-based object-relational mapping system that provides a unified persistence layer for Node.js applications. It translates TypeScript entities into relational or document-based database schemas, supporting a variety of engines including PostgreSQL, MySQL, MariaDB, MS SQL Server, SQLite, and MongoDB. The project implements the data mapper pattern to decouple in-memory domain models from the database persistence layer. It utilizes a unit of work pattern to track entity changes in memory and commit them in a single coordinated database transaction. The library covers com

    Mikro-ORM is a TypeScript-native object-relational mapper that gives you full compile-time type safety with a type-safe query builder, automatic schema migrations, and support for multiple database backends — exactly the kind of type-safe ORM you're looking for.

    TypeScriptFluent Query BuildersSchema MigrationsType-Safe Query Builders
    在 GitHub 上查看↗9,085
  • drizzle-team/drizzle-ormdrizzle-team 的头像

    drizzle-team/drizzle-orm

    34,835在 GitHub 上查看↗

    Drizzle ORM is a TypeScript-native database toolkit providing type-safe SQL query building, schema management, and automated migrations across PostgreSQL, MySQL, SQLite, and SingleStore.

    Drizzle ORM is a TypeScript-native database toolkit that delivers exactly the compile-time type safety, full type inference, generated types from schema, typed query builder, migration management, and multi-database support this search is after.

    TypeScriptDatabase MigrationsType-Safe Query Builders
    在 GitHub 上查看↗34,835
  • typeorm/typeormtypeorm 的头像

    typeorm/typeorm

    36,540在 GitHub 上查看↗

    TypeORM is an object-relational mapper for TypeScript and JavaScript that bridges the gap between object-oriented application code and relational database tables. It provides a comprehensive data persistence layer that allows developers to define database entities using class decorators or configuration objects, enabling seamless interaction with data through object-oriented patterns. The project distinguishes itself through a flexible architecture that supports both the data mapper and repository patterns, alongside a fluent query builder that translates high-level method calls into platform

    TypeORM is a mature, feature-rich ORM for TypeScript that provides compile-time type safety through decorators and entity definitions, a fully typed query builder, migration management, and support for multiple relational databases — exactly what this search for a type-safe ORM requires.

    TypeScriptData Type MappingsDatabase Abstraction LayersDatabase Migrations
    在 GitHub 上查看↗36,540
  • typegoose/typegoosetypegoose 的头像

    typegoose/typegoose

    2,312在 GitHub 上查看↗

    (These badges are from typegoose:master)

    Typegoose is a TypeScript library that adds compile-time type safety to Mongoose models, making it a genuine type-safe ORM for Node.js, though it focuses solely on MongoDB and lacks the multi-backend and migration features you likely need.

    TypeScriptDatabases
    在 GitHub 上查看↗2,312
  • prisma/prisma-client-jsprisma 的头像

    prisma/prisma-client-js

    1,465在 GitHub 上查看↗

    Prisma Client is a database client for Node.js and TypeScript applications that provides a type-safe interface for interacting with relational databases. It functions as an object-relational mapper that translates declarative schema definitions into strongly typed query interfaces, ensuring that database operations align with the underlying data structure. The library distinguishes itself by generating type definitions directly from a schema model, which enables static analysis and IDE autocompletion during development. By abstracting database interactions into a unified query language, it st

    Prisma Client is the runtime component of the Prisma ORM, delivering type safety, generated types, and a type-safe query builder, but it does not include migration management (handled by the separate Prisma CLI), so it fits the type-safe ORM intent but has a feature gap.

    TypeScriptFluent Query BuildersType-Safe Query BuildersDatabase Agnostic Generators
    在 GitHub 上查看↗1,465

Related searches

  • 优先支持 TypeScript 的 SQL 数据库 ORM
  • Python 的类型安全 ORM
  • 端到端类型安全的 TypeScript API 层
  • an object relational mapping library for Kotlin
  • an object relational mapper for Rust
  • Go 语言 ORM 与查询构建器
  • an object relational mapping library for Dart
  • TypeScript 运行时类型验证库