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
@flvmnt/pgfence
Postgres migration safety CLI: lock mode analysis, risk scoring, and safe rewrite recipes
2.9k---8 days ago
0.8.1
ESM onlyBundledORMs and query builders, Linting and formatting
ddlforge
Ultra-fast, zero-runtime-dependency Postgres migration lock linter and data-loss prevention engine CLI in Node.js 20+ and TypeScript
2.9k--5 days ago
2.0.1
ESM onlyBundledORMs and query builders, Linting and formatting
prisma-pagination
Helper library for [Prisma](https://www.prisma.io/docs/concepts/components/prisma-client/pagination) offset pagination with Typescript support.
2.9k+3%-4 years ago
0.2.3
ESM + CommonJSBundledNode.js utilities, ORMs and query builders
sequelize-search-builder
Minimalist library for parsing search request to sequelize query
2.9k+607%-1 year ago
0.13.2
CommonJSNoneORMs and query builders, HTTP servers and web frameworks
bigal
A type-safe PostgreSQL ORM for Node.js, written in TypeScript. Features a fluent query builder, decorator-based models, and immutable query state.
2.9k+180%-today
16.1.0
ESM + CommonJSBundledORMs and query builders, TypeScript tooling
prisma-json-generator
Expose the Prisma schema as JSON, including comments and annotations
2.9k+2581%-11 months ago
0.1.5
CommonJSNoneORMs and query builders
zod-prisma-v4
A Prisma generator that creates Zod schemas for all of your models
2.9k+2574%-11 months ago
0.5.4
CommonJSBundledORMs and query builders, Schema validation
create-better-t-stack
A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations
2.8k-18%-6 days ago
3.44.1
ESM onlyBundledCLI tools and terminal utilities, CSS-in-JS and styling
casbin-sequelize-adapter
Sequelize adapter for Casbin
2.8k-25%-2 years ago
2.7.1
CommonJSBundledORMs and query builders
kysely-knex
Kysely dialect for Knex.js
2.8k+110%-2 years ago
0.2.0
ESM + CommonJSBundledORMs and query builders
create-sporekit
CLI for installing composable Sporekit developer kits.
2.8k--4 days ago
0.1.19
ESM onlyNoneORMs and query builders, Static site generators and meta-frameworks
@mikro-orm/knex-compat
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.
2.8k---6 days ago
7.2.1
ESM onlyBundledTypeScript tooling, ORMs and query builders
@candoimage/prisma-extension-nested-operations
Utils for creating Prisma client extensions with nested operations
2.7k---5 months ago
1.6.4
ESM + CommonJSBundledORMs and query builders
@directus/schema-builder
Directus SchemaBuilder for mocking/constructing a database schema based on code.
2.7k---2 days ago
1.0.3
ESM onlyBundledORMs and query builders, Vue
orm
NodeJS Object-relational mapping
2.6k+203%-1 year ago
8.0.1
CommonJSNoneORMs and query builders
@mikro-orm/oracledb
TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, PostgreSQL, SQLite, MSSQL and Oracle databases.
2.6k---6 days ago
7.2.1
ESM onlyBundledTypeScript tooling, ORMs and query builders
dsh-config-manager
Backup, restore, export, import, migrate and sync your DeepSeek Harness (DSH) configuration: settings, plugins, MCP servers, skills, agent presets and workspaces. One-click migration to another machine. DSH 配置一键备份、恢复、导出、导入、迁移与同步插件。
2.6k---
0.1.64
ESM onlyBundledConfiguration, ORMs and query builders
@adaptware/eagles-db
A Prisma client package for Treadspace database operations
2.6k---today
0.5.62
ESM onlyBundledORMs and query builders
@depup/drizzle-kit
drizzle-kit with all dependencies updated to latest
2.5k---today
0.31.11-depup.10
ESM + CommonJSBundledORMs and query builders, TypeScript tooling
@foal/core
Full-featured Node.js framework, with no complexity
2.5k---2 months ago
5.3.0
CommonJSBundledHTTP servers and web frameworks, ORMs and query builders
vue-api-query
💎 Elegant and simple way to build requests for REST API
2.5k+19%-3 years ago
1.11.0
CommonJSBundledVue, ORMs and query builders
@morpho-dev/subsquid-typeorm-store
TypeORM based storage for squid mappings - Morpho fork with custom TypeORM options and rollback hooks
2.5k---10 months ago
1.5.4
CommonJSBundledBlockchain and Web3, ORMs and query builders
@depup/bookshelf
A lightweight ORM for PostgreSQL, MySQL, and SQLite3 (with updated dependencies)
2.4k---today
1.2.0-depup.250
CommonJSNoneORMs and query builders
sessionstore
Sessionstore is a node.js module for multiple databases. It can be very useful if you work with express or connect.
2.4k+22%-8 months ago
1.3.8
CommonJSNoneHTTP servers and web frameworks, ORMs and query builders
kysely-sequelize
Kysely dialect for Sequelize
2.4k+127%-2 years ago
0.2.0
ESM + CommonJSBundledORMs and query builders
create-starter-app
Interactive CLI to scaffold a starter app from curated templates
2.4k+154850%-today
1.0.107
ESM onlyNoneStatic site generators and meta-frameworks, ORMs and query builders
breeze-client
Breeze data management for JavaScript clients
2.3k-7%-1 year ago
2.2.2
ESM + CommonJSBundledORMs and query builders
@willsoto/nestjs-objection
Objection module for NestJS
2.3k---1 year ago
9.0.0
CommonJSBundledORMs and query builders
prisma-adapter-bun-sqlite
Prisma driver adapter for Bun's native SQLite (bun:sqlite) - zero dependencies, production-ready
2.3k--5 months ago
0.8.0
ESM onlyBundledORMs and query builders
@avocadostudio-ai/migration-sdk
Utilities for migrating existing site content into the Avocado Studio PageDoc/BlockInstance shape
2.2k---2 days ago
0.21.1
ESM onlyBundledScraping and browser automation, Testing
nestlens
Laravel Telescope-like debugging and monitoring tool for NestJS
2.2k--1 month ago
0.14.2
CommonJSBundledMonitoring and error tracking, Logging
sequelize-tokenify
Add unique tokens to sequelize models
2.2k+250%-3 years ago
0.2.4
CommonJSNoneORMs and query builders
@timescaledb/core
The `@timescaledb/core` package provides fundamental building blocks for working with TimescaleDB in TypeScript/JavaScript applications. It includes SQL query builders and utilities for managing hypertables, continuous aggregates, compression, and other T
2.2k---1 year ago
0.0.1
ESM + CommonJSBundledTypeScript tooling, ORMs and query builders
east
node.js database migration tool for mongodb, sqlite, postgres, mysql, couchbase
2.2k-66%-4 years ago
2.0.3
CommonJSBundledORMs and query builders
@unthrown/prisma
Prisma Client extension for unthrown: try-prefixed query methods returning AsyncResult, with per-operation tagged errors
2.1k---1 month ago
0.4.0
ESM + CommonJSBundledPromises and async control flow, ORMs and query builders
url-assembler
Assemble urls from route-like templates (/path/:param)
2.1k-53%-6 years ago
2.1.1
CommonJSNoneURLs and query strings, ORMs and query builders
leoric
yet another JavaScript object-relational mapping library
2k+1%-1 month ago
2.16.0
ESM + CommonJSBundledORMs and query builders
@candoimage/prisma-extension-soft-delete
Prisma extension for soft deleting records - Prisma 7 compatible fork
2k---1 month ago
2.1.3
ESM + CommonJSBundledORMs and query builders
@hypequery/datasets
Code-first TypeScript semantic layer for ClickHouse datasets, metrics, multi-tenancy, and AI agents
2k---today
0.17.1
ESM + CommonJSBundledTypeScript tooling, Monitoring and error tracking
prisma-joi-generator
Prisma +2 generator to emit Joi schemas from your Prisma schema
2k+314%-1 month ago
2.0.0
-NoneORMs and query builders, Schema validation
@compas/code-gen
Generate various boring parts of your server
2k---11 days ago
0.26.0
ESM onlyBundledRouting, ORMs and query builders
mongoose-id-validator
Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection
2k-63%-6 years ago
0.6.0
CommonJSNoneSchema validation, ORMs and query builders
sequelize-slugify
Add slugs to sequelize models
2k-38%-4 years ago
1.6.2
CommonJSBundledStrings and text, ORMs and query builders
cypher-query-builder
An intuitive, easy to use query builder for Neo4j and Cypher
1.9k+89%-5 years ago
6.0.4
ESM + CommonJSBundledORMs and query builders
@spooky-sync/query-builder
Type-safe query builder for SurrealDB with relationship support
1.9k---6 months ago
0.0.0-canary.1
ESM + CommonJSBundledORMs and query builders
@revisium/prisma-pg-json
Advanced PostgreSQL JSON query builder for Prisma with support for JSON paths, wildcards, and complex filters
1.9k---22 days ago
1.7.0
ESM + CommonJSBundledORMs and query builders
ts-prorm-orm
A TypeScript ORM for MySQL, PostgreSQL, SQLite, MSSQL, and more
1.9k--9 days ago
4.8.2
ESM + CommonJSBundledORMs and query builders
tantan-typeorm-gs
A TypeORM-compatible driver for using Google Sheets as a data source.
1.9k--3 days ago
1.0.5
ESM onlyBundledORMs and query builders, TypeScript tooling
thinky
RethinkDB ORM for Node.js
1.9k+13%-9 years ago
2.3.9
CommonJSNoneORMs and query builders
bookshelf-paranoia
Soft delete data from your database
1.9k+2%-7 years ago
0.13.1
CommonJSNoneORMs 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.

  • @flvmnt/pgfencePostgres migration safety CLI: lock mode analysis, risk scoring, and safe rewrite recipes
  • ddlforgeUltra-fast, zero-runtime-dependency Postgres migration lock linter and data-loss prevention engine CLI in Node.js 20+ and TypeScript
  • prisma-paginationHelper library for [Prisma](https://www.prisma.io/docs/concepts/components/prisma-client/pagination) offset pagination with Typescript support.
  • sequelize-search-builderMinimalist library for parsing search request to sequelize query
  • bigalA type-safe PostgreSQL ORM for Node.js, written in TypeScript. Features a fluent query builder, decorator-based models, and immutable query state.
  • prisma-json-generatorExpose the Prisma schema as JSON, including comments and annotations
  • zod-prisma-v4A Prisma generator that creates Zod schemas for all of your models
  • create-better-t-stackA modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations
  • casbin-sequelize-adapterSequelize adapter for Casbin
  • kysely-knexKysely dialect for Knex.js
  • create-sporekitCLI for installing composable Sporekit developer kits.
  • @mikro-orm/knex-compatTypeScript 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.
  • @candoimage/prisma-extension-nested-operationsUtils for creating Prisma client extensions with nested operations
  • @directus/schema-builderDirectus SchemaBuilder for mocking/constructing a database schema based on code.
  • ormNodeJS Object-relational mapping
  • @mikro-orm/oracledbTypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, PostgreSQL, SQLite, MSSQL and Oracle databases.
  • dsh-config-managerBackup, restore, export, import, migrate and sync your DeepSeek Harness (DSH) configuration: settings, plugins, MCP servers, skills, agent presets and workspaces. One-click migration to another machine. DSH 配置一键备份、恢复、导出、导入、迁移与同步插件。
  • @adaptware/eagles-dbA Prisma client package for Treadspace database operations
  • @depup/drizzle-kitdrizzle-kit with all dependencies updated to latest
  • @foal/coreFull-featured Node.js framework, with no complexity
  • vue-api-query💎 Elegant and simple way to build requests for REST API
  • @morpho-dev/subsquid-typeorm-storeTypeORM based storage for squid mappings - Morpho fork with custom TypeORM options and rollback hooks
  • @depup/bookshelfA lightweight ORM for PostgreSQL, MySQL, and SQLite3 (with updated dependencies)
  • sessionstoreSessionstore is a node.js module for multiple databases. It can be very useful if you work with express or connect.
  • kysely-sequelizeKysely dialect for Sequelize
  • create-starter-appInteractive CLI to scaffold a starter app from curated templates
  • breeze-clientBreeze data management for JavaScript clients
  • @willsoto/nestjs-objectionObjection module for NestJS
  • prisma-adapter-bun-sqlitePrisma driver adapter for Bun's native SQLite (bun:sqlite) - zero dependencies, production-ready
  • @avocadostudio-ai/migration-sdkUtilities for migrating existing site content into the Avocado Studio PageDoc/BlockInstance shape
  • nestlensLaravel Telescope-like debugging and monitoring tool for NestJS
  • sequelize-tokenifyAdd unique tokens to sequelize models
  • @timescaledb/coreThe `@timescaledb/core` package provides fundamental building blocks for working with TimescaleDB in TypeScript/JavaScript applications. It includes SQL query builders and utilities for managing hypertables, continuous aggregates, compression, and other T
  • eastnode.js database migration tool for mongodb, sqlite, postgres, mysql, couchbase
  • @unthrown/prismaPrisma Client extension for unthrown: try-prefixed query methods returning AsyncResult, with per-operation tagged errors
  • url-assemblerAssemble urls from route-like templates (/path/:param)
  • leoricyet another JavaScript object-relational mapping library
  • @candoimage/prisma-extension-soft-deletePrisma extension for soft deleting records - Prisma 7 compatible fork
  • @hypequery/datasetsCode-first TypeScript semantic layer for ClickHouse datasets, metrics, multi-tenancy, and AI agents
  • prisma-joi-generatorPrisma +2 generator to emit Joi schemas from your Prisma schema
  • @compas/code-genGenerate various boring parts of your server
  • mongoose-id-validatorMongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection
  • sequelize-slugifyAdd slugs to sequelize models
  • cypher-query-builderAn intuitive, easy to use query builder for Neo4j and Cypher
  • @spooky-sync/query-builderType-safe query builder for SurrealDB with relationship support
  • @revisium/prisma-pg-jsonAdvanced PostgreSQL JSON query builder for Prisma with support for JSON paths, wildcards, and complex filters
  • ts-prorm-ormA TypeScript ORM for MySQL, PostgreSQL, SQLite, MSSQL, and more
  • tantan-typeorm-gsA TypeORM-compatible driver for using Google Sheets as a data source.
  • thinkyRethinkDB ORM for Node.js
  • bookshelf-paranoiaSoft delete data from your database