Skip to content
JS
Package category

ORMs and query builders

Object-relational mappers, query builders and migration tools.

444 packages12 comparisons

Packages compared

444 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
mongodb-memory-server-global-4.4
MongoDB Server for testing (auto-download 4.4 version to ~/.cache/mongodb-binaries).
1.9k+128%-4 days ago
11.3.0
CommonJSBundledTesting, Dev servers and API mocking
prisma-merge
Merge prisma schema files
1.9k-15%-5 years ago
0.2.0
CommonJSBundledORMs and query builders
prisma-appsync
⚡ AppSync GraphQL API Generator for ◭ Prisma ORM.
1.8k+30%-2 years ago
1.0.2
-NoneGraphQL, Cloud SDKs
prisma-generator-drizzle
A Prisma generator for generating Drizzle schema with ease
1.8k-37%-2 years ago
0.7.6
CommonJSNoneORMs and query builders
@mikro-orm/sql-js
TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.
1.8k---6 days ago
7.2.1
ESM onlyBundledTypeScript tooling, ORMs and query builders
@composio/chorm
A typesafe, Effect-native ClickHouse ORM with schema introspection and codegen.
1.8k---3 months ago
0.0.1
ESM onlyNoneORMs and query builders
prisma-pglite
Making Prisma easy to use with PGlite.
1.8k+173%-1 month ago
3.0.1
ESM onlyBundledORMs and query builders
@hypequery/serve
Code-first TypeScript runtime for validated ClickHouse analytics APIs, OpenAPI, auth, and tenancy
1.8k---7 days ago
0.18.0
ESM + CommonJSBundledTypeScript tooling, Schema validation
sequelize-cockroachdb
Support using Sequelize with CockroachDB.
1.8k+3%-4 years ago
6.0.5
CommonJSBundledORMs and query builders
prisma-rls
Prisma client extension for row-level security on any database
1.8k+67%-1 month ago
1.0.1
ESM onlyBundledORMs and query builders
drizzle-cube
Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.
1.8k+916%-2 days ago
0.9.5
ESM + CommonJSBundledORMs and query builders, React
cachegoose
Mongoose caching that actually works.
1.8k-40%-7 years ago
8.0.0
CommonJSNoneCaching, ORMs and query builders
@decaf-ts/core
Core persistence module for the decaf framework
1.8k---2 days ago
0.32.2
ESM + CommonJSBundledORMs and query builders, TypeScript tooling
nexorm
A powerful TypeScript ORM with advanced features.
1.8k-18%-1 year ago
2.0.5
CommonJSBundledORMs and query builders, TypeScript tooling
sqlutils
Lightweight SQL helper methods that simplify stuff (MySQL and PostgreSQL)
1.7k+12%--
1.5.4
CommonJSNoneORMs and query builders, Node.js utilities
@hypequery/cli
CLI for scaffolding type-safe ClickHouse analytics, semantic datasets, React manifests, and deployments
1.7k---7 days ago
1.20.0
ESM onlyNoneTypeScript tooling, CLI tools and terminal utilities
@guren/orm
Eloquent-style models for the Guren framework, on Drizzle ORM: PostgreSQL, MySQL, SQLite and Cloudflare D1.
1.7k---2 days ago
2.12.0
ESM onlyBundledORMs and query builders, TypeScript tooling
uql-codemod
Upgrade uql-orm across versions that introduce breaking changes
1.7k--6 days ago
0.40.0
ESM onlyBundledORMs and query builders, TypeScript tooling
express-cassandra
Cassandra Object Models (ORM/ODM/OGM) for NodeJS with support for Apache Cassandra, ScyllaDB, Datastax Enterprise, Elassandra & JanusGraph.
1.7k-50%-2 years ago
2.9.1
CommonJSNoneORMs and query builders, Node.js utilities
mongoose-slug-generator
Mongoose plugin to create slugs and unique slugs in any field
1.7k-54%-10 years ago
1.0.4
CommonJSNoneStrings and text, ORMs and query builders
hikoutei
Typed repository and safe write layer for Google Sheets-backed MVPs. SQLite-authoritative entity lifecycle with asynchronous Google Sheets projection.
1.6k--1 day ago
0.11.103-dev
ESM onlyBundledORMs and query builders, TypeScript tooling
pg-safe-numbers
Safe number parsing for pg and Sequelize.
1.6k+53%-10 years ago
0.7.0
CommonJSNoneParsers and serialisers, ORMs and query builders
@hapipal/schwifty
A model layer for hapi integrating Objection ORM
1.6k---3 years ago
6.2.0
CommonJSNoneORMs and query builders
mongo-unit
mongo db for unit tests
1.5k-42%-1 year ago
3.4.0
CommonJSBundledORMs and query builders
@pgpmjs/migrate-client
Typed GraphQL ORM client for the Constructive Migrate API (db_migrate schema)
1.5k---today
1.19.3
ESM + CommonJSBundledGraphQL, ORMs and query builders
ts-force
a typescript client for connecting with salesforce APIs
1.5k-24%-1 year ago
3.5.0
CommonJSBundledTypeScript tooling, ORMs and query builders
@prisma/compute
Utilities for applications running on the Prisma compute runtime.
1.5k---3 months ago
0.1.0-beta.0
ESM onlyBundledORMs and query builders
tedious-async
https://github.com/SyedNaqiRizvi/tedious-async.git
1.5k+785%-7 years ago
1.0.9
CommonJSBundledPromises and async control flow, ORMs and query builders
cache-manager-mongoose
mongoose store for node-cache-manager
1.5k+321%-4 years ago
1.0.1
CommonJSNoneCaching, ORMs and query builders
@zodyac/zod-mongoose
A library that allows you to generate mongoose schemas from zod objects.
1.5k---8 months ago
4.2.2
ESM + CommonJSBundledSchema validation, TypeScript tooling
@svar-ui/svelte-filter
SVAR Svelte Filter - a flexible and customizable filter builder (query builder) for Svelte apps
1.5k---24 days ago
2.6.1
ESM onlyBundledORMs and query builders, Svelte
@venizia/ignis
High-performance TypeScript server infrastructure combining LoopBack 4 enterprise architecture (decorator-based DI, repository pattern, component system) with Hono speed (~140k req/s). Features auto-generated OpenAPI docs, Drizzle ORM type-safe SQL, JWT/B
1.5k---1 day ago
0.2.0
ESM + CommonJSBundledDocumentation tooling, ORMs and query builders
@targetprocess/sequelize-typescript
Decorators and some other features for sequelize
1.4k---2 months ago
1.0.4
CommonJSBundledTypeScript tooling, ORMs and query builders
@compas/stdlib
All kinds of utility functions
1.4k---11 days ago
0.26.0
ESM onlyBundledLogging, ORMs and query builders
ah-sequelize-plugin
Use Sequelize in ActionHero
1.4k-28%-3 years ago
5.1.5
-NoneORMs and query builders
db-result
Database failures as better-result tagged errors — Result<T, DbError>, retry-safe, driver-agnostic.
1.4k---
0.3.2
ESM onlyBundledORMs and query builders
prisma-client-types-generator
Generate safe types for the browser and other uses
1.3k+657%-9 months ago
2.0.0
ESM + CommonJSBundledORMs and query builders
@medicine-wheel/relational-query
Query builder for relational webs with Indigenous protocol awareness — traversal, accountability, OCAP® compliance
1.3k---1 day ago
0.15.6
ESM + CommonJSBundledORMs and query builders
dyngoose
Elegant DynamoDB object modeling for Typescript
1.3k+39%-1 year ago
4.12.0
CommonJSBundledORMs and query builders, TypeScript tooling
@jitterbit/npdynamodb
A Node.js Simple Query Builder and ORM for AWS DynamoDB.
1.3k---1 year ago
0.3.5
CommonJSNoneORMs and query builders, Cloud SDKs
unexpected-knex
Support for testing Knex.js models and migrations using Unexpected
1.3k+252%-3 years ago
5.0.0
CommonJSNoneORMs and query builders, Testing
@react-querybuilder/bootstrap
Custom Bootstrap components for react-querybuilder
1.3k---4 days ago
8.24.1
ESM + CommonJSBundledReact, UI component libraries
drizzle-pagination
Easily add cursor pagination to your Drizzle ORM queries.
1.3k+11%-1 year ago
1.0.12
ESM + CommonJSBundledORMs and query builders
bookshelf-soft-delete
Soft Delete for Bookshelf.js
1.2k+64%-8 years ago
5.0.0
CommonJSNoneORMs and query builders
gscdump
Direct Google Search Console and Bing Webmaster clients with typed queries and Indexing Evidence
1.2k--1 day ago
4.0.2
ESM onlyBundledORMs and query builders
@antelopejs/interface-database-decorators
AntelopeJS interface for database schema decorators and model definitions
1.2k---2 months ago
0.1.6
CommonJSBundledORMs and query builders
orchid-orm-schema-to-zod
Orchid-ORM columns schema to Zod converter
1.2k-28%-26 days ago
1.2.10
ESM + CommonJSBundledORMs and query builders, Schema validation
@pkgverse/prismock
An in-memory implementation of PrismaClient, dedicated to unit testing.
1.2k---7 months ago
2.0.6
ESM + CommonJSBundledORMs and query builders
@vibeorm/schema
Canonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2
1.2k---7 days ago
2.4.0
ESM onlyBundledORMs and query builders, Schema validation
keystone
Web Application Framework and Admin GUI / Content Management System built on Express.js and Mongoose
1.2k+37%-7 years ago
4.2.1
CommonJSNoneHTTP servers and web frameworks, ORMs and query builders

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • mongodb-memory-server-global-4.4MongoDB Server for testing (auto-download 4.4 version to ~/.cache/mongodb-binaries).
  • prisma-mergeMerge prisma schema files
  • prisma-appsync⚡ AppSync GraphQL API Generator for ◭ Prisma ORM.
  • prisma-generator-drizzleA Prisma generator for generating Drizzle schema with ease
  • @mikro-orm/sql-jsTypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.
  • @composio/chormA typesafe, Effect-native ClickHouse ORM with schema introspection and codegen.
  • prisma-pgliteMaking Prisma easy to use with PGlite.
  • @hypequery/serveCode-first TypeScript runtime for validated ClickHouse analytics APIs, OpenAPI, auth, and tenancy
  • sequelize-cockroachdbSupport using Sequelize with CockroachDB.
  • prisma-rlsPrisma client extension for row-level security on any database
  • drizzle-cubeDrizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.
  • cachegooseMongoose caching that actually works.
  • @decaf-ts/coreCore persistence module for the decaf framework
  • nexormA powerful TypeScript ORM with advanced features.
  • sqlutilsLightweight SQL helper methods that simplify stuff (MySQL and PostgreSQL)
  • @hypequery/cliCLI for scaffolding type-safe ClickHouse analytics, semantic datasets, React manifests, and deployments
  • @guren/ormEloquent-style models for the Guren framework, on Drizzle ORM: PostgreSQL, MySQL, SQLite and Cloudflare D1.
  • uql-codemodUpgrade uql-orm across versions that introduce breaking changes
  • express-cassandraCassandra Object Models (ORM/ODM/OGM) for NodeJS with support for Apache Cassandra, ScyllaDB, Datastax Enterprise, Elassandra & JanusGraph.
  • mongoose-slug-generatorMongoose plugin to create slugs and unique slugs in any field
  • hikouteiTyped repository and safe write layer for Google Sheets-backed MVPs. SQLite-authoritative entity lifecycle with asynchronous Google Sheets projection.
  • pg-safe-numbersSafe number parsing for pg and Sequelize.
  • @hapipal/schwiftyA model layer for hapi integrating Objection ORM
  • mongo-unitmongo db for unit tests
  • @pgpmjs/migrate-clientTyped GraphQL ORM client for the Constructive Migrate API (db_migrate schema)
  • ts-forcea typescript client for connecting with salesforce APIs
  • @prisma/computeUtilities for applications running on the Prisma compute runtime.
  • tedious-asynchttps://github.com/SyedNaqiRizvi/tedious-async.git
  • cache-manager-mongoosemongoose store for node-cache-manager
  • @zodyac/zod-mongooseA library that allows you to generate mongoose schemas from zod objects.
  • @svar-ui/svelte-filterSVAR Svelte Filter - a flexible and customizable filter builder (query builder) for Svelte apps
  • @venizia/ignisHigh-performance TypeScript server infrastructure combining LoopBack 4 enterprise architecture (decorator-based DI, repository pattern, component system) with Hono speed (~140k req/s). Features auto-generated OpenAPI docs, Drizzle ORM type-safe SQL, JWT/B
  • @targetprocess/sequelize-typescriptDecorators and some other features for sequelize
  • @compas/stdlibAll kinds of utility functions
  • ah-sequelize-pluginUse Sequelize in ActionHero
  • db-resultDatabase failures as better-result tagged errors — Result<T, DbError>, retry-safe, driver-agnostic.
  • prisma-client-types-generatorGenerate safe types for the browser and other uses
  • @medicine-wheel/relational-queryQuery builder for relational webs with Indigenous protocol awareness — traversal, accountability, OCAP® compliance
  • dyngooseElegant DynamoDB object modeling for Typescript
  • @jitterbit/npdynamodbA Node.js Simple Query Builder and ORM for AWS DynamoDB.
  • unexpected-knexSupport for testing Knex.js models and migrations using Unexpected
  • @react-querybuilder/bootstrapCustom Bootstrap components for react-querybuilder
  • drizzle-paginationEasily add cursor pagination to your Drizzle ORM queries.
  • bookshelf-soft-deleteSoft Delete for Bookshelf.js
  • gscdumpDirect Google Search Console and Bing Webmaster clients with typed queries and Indexing Evidence
  • @antelopejs/interface-database-decoratorsAntelopeJS interface for database schema decorators and model definitions
  • orchid-orm-schema-to-zodOrchid-ORM columns schema to Zod converter
  • @pkgverse/prismockAn in-memory implementation of PrismaClient, dedicated to unit testing.
  • @vibeorm/schemaCanonical schema IR, validation, dialect/capability types, and error codes for VibeORM v2
  • keystoneWeb Application Framework and Admin GUI / Content Management System built on Express.js and Mongoose