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
litedbmodel-gen
embedoc-based model code generator for litedbmodel — generates TypeScript column definitions from SQL DDL (PostgreSQL/MySQL/SQLite)
4.6k--14 days ago
1.0.2
ESM onlyBundledORMs and query builders
@react-querybuilder/chakra
Custom Chakra UI components for react-querybuilder
4.6k---4 days ago
8.24.1
ESM + CommonJSBundledReact, ORMs and query builders
angular2-query-builder
A modernized Angular 2+ query builder based on jquery QueryBuilder
4.5k-26%-6 years ago
0.6.2
ESM + CommonJSBundledAngular, ORMs and query builders
knex-db-manager
Collection of administrative database operations for knex supported databases
4.5k+117%-6 years ago
0.7.0
CommonJSNoneORMs and query builders
rm
An object storage layer for Riak
4.4k-25%-9 years ago
0.1.8
CommonJSNoneORMs and query builders
prisma-nested-middleware
Util for calling Prisma middleware for nested write operations
4.3k+12%-2 years ago
4.0.0
ESM + CommonJSBundledORMs and query builders
prisma-generator-sqlalchemy
Provide a description about your generator
4.3k+190%-1 year ago
1.0.22
CommonJSNoneORMs and query builders
@typegoose/auto-increment
Automaticly Increment properties
4.2k---7 months ago
5.0.1
CommonJSBundledORMs and query builders
marv
A programmatic database migration tool with plugable drivers for mysql, postgres, mssql, sqlite and oracle
4.2k+127%-2 years ago
6.1.0
CommonJSNoneORMs and query builders
prisma-prefixed-ids
A Prisma extension that adds prefixed IDs to your models
4.2k+2132%-6 months ago
2.1.0
ESM + CommonJSBundledCryptography and hashing, ORMs and query builders
@trovohealth/drizzle-bulk-load
High-throughput bulk load utilities for Drizzle ORM + Postgres using COPY
4.2k---5 months ago
0.6.1
ESM + CommonJSBundledORMs and query builders
@premieroctet/next-admin
Next-Admin provides a customizable and turnkey admin dashboard for applications built with Next.js and powered by the Prisma ORM. It aims to simplify the development process by providing a turnkey admin system that can be easily integrated into your proje
4.2k---8 months ago
8.4.2
ESM + CommonJSBundledTypeScript tooling, ORMs and query builders
typeorm-uml
Generates UML diagrams for TypeORM projects
4.1k-0%-4 years ago
1.6.5
CommonJSBundledORMs and query builders, TypeScript tooling
sequelize-typescript-generator
Automatically generate type-safe Sequelize models from your source database via the TypeScript compiler API — native or sequelize-typescript (decorators) format.
4.1k-7%-14 days ago
13.1.0
ESM onlyBundledTypeScript tooling, ORMs and query builders
litedbmodel
A lightweight TypeScript ORM for PostgreSQL, MySQL, and SQLite with Active Record pattern
4.1k--15 days ago
2.2.7
ESM + CommonJSBundledORMs and query builders, TypeScript tooling
prisma-generator-fake-data
The easiest way to generate mock data based on your Prisma models!
4k+12%-7 months ago
0.18.3
CommonJSNoneORMs and query builders, Dev servers and API mocking
pgsql-test
pgsql-test offers isolated, role-aware, and rollback-friendly PostgreSQL environments for integration tests — giving developers realistic test coverage without external state pollution
4k+165%-today
5.17.0
ESM + CommonJSBundledTesting, ORMs and query builders
mongoose-float
This library can solve one well known problem with JavaScript Number arithmetic imprecise, when, for example, 3.3 * 3 becomes 9.899999999999999, ugly.
4k-20%--
1.0.4
CommonJSNoneORMs and query builders
migrate-mongoose
A mongoose based migration framework for node
3.9k-38%-7 years ago
4.0.0
CommonJSNoneORMs and query builders
effect-prisma-generator
Prisma generator for Effect
3.9k--2 months ago
0.10.0
CommonJSNoneORMs and query builders
mongoose-forms
Mongoose forms using Handlebars
3.8k+2407%-14 years ago
0.0.5
CommonJSNoneORMs and query builders, Templating
sinon-mongoose
Sinon extensions for Mongoose stubs
3.8k-77%-7 years ago
2.3.0
CommonJSNoneDev servers and API mocking, ORMs and query builders
@constructive-io/query-builder
PostgreSQL Query Builder
3.8k---today
3.16.3
ESM + CommonJSBundledORMs and query builders
minato
Type Driven Database Framework
3.7k+53%-5 months ago
4.0.1
ESM onlyBundledORMs and query builders
prisma-cursorstream
Prisma Stream Client Extension (Cursor-based Implementation)
3.7k+56%-9 months ago
0.4.2
CommonJSBundledORMs and query builders
algolia-search-builder
A query parser for algolia filters
3.7k+719%-4 years ago
1.1.2
ESM + CommonJSBundledORMs and query builders
prisma-soft-delete-middleware
Prisma middleware for soft deleting records
3.6k+9%-2 years ago
1.3.1
ESM + CommonJSBundledORMs and query builders
rake-db
Migrations tool for Postgresql DB
3.6k+53%--
2.37.10
ESM + CommonJSBundledORMs and query builders
ltijs-sequelize
Ltijs Sequelize Database Plugin
3.6k+492%-5 years ago
2.4.4
CommonJSNoneORMs and query builders
@pgpmjs/bundle
PGPM migration bundle — the portable, content-addressed artifact layer (create/io/verify/transpile/diff/reconcile)
3.5k---today
0.18.3
ESM + CommonJSBundledBundlers, ORMs and query builders
@tsed/mongoose
Mongoose package for Ts.ED framework
3.5k---4 days ago
8.38.8
ESM onlyBundledTypeScript tooling, ORMs and query builders
prisma-zero
Generate Zero schemas from Prisma ORM schemas
3.5k--2 months ago
0.2.1
ESM + CommonJSBundledORMs and query builders
@veramo/data-store
Veramo data storage plugin based on TypeORM database drivers
3.5k---2 days ago
7.0.2
ESM onlyBundledORMs and query builders, Documentation tooling
js-data
Robust, framework-agnostic in-memory data store.
3.4k+12%-4 years ago
3.0.11
CommonJSBundledORMs and query builders
migraguard
PostgreSQL schema-aware deployment control — idempotent SQL migrations with CI-enforced integrity checks, expand/contract migration orchestration, schema drift detection, and unified gating across database, application, and infrastructure rollouts
3.4k--4 days ago
0.16.24
ESM onlyBundledORMs and query builders
@shiftcoders/dynamo-easy
DynamoDB client for NodeJS and browser with a fluent api to build requests. We take care of the type mapping between JS and DynamoDB, customizable trough typescript decorators.
3.3k---2 years ago
7.1.1
ESM + CommonJSBundledCloud SDKs, ORMs and query builders
@riordanpawley/effect-prisma-generator
Prisma generator for Effect (fork with Prisma 7 support)
3.3k---4 months ago
1.1.4
CommonJSNoneORMs and query builders
uql-orm
The JSON-native TypeScript ORM for Bun, Browsers, Edge, Deno, Node, Workers. Supports PostgreSQL, PGlite, MySQL, MariaDB, SQLite, CockroachDB, SQL Server, Turso, Neon, Cloudflare D1 and MongoDB. Queries are plain JSON, typed to the leaf.
3.3k--today
0.83.0
ESM onlyBundledORMs and query builders, TypeScript tooling
@pgsql/scripts
Migration script generation for PostgreSQL — derive revert and verify scripts from classified statement facts
3.3k---7 days ago
18.4.8
ESM + CommonJSBundledORMs and query builders
@superfunctions/db
Shared database adapter system for building useful backend libraries
3.3k---10 days ago
0.2.1
ESM onlyBundledORMs and query builders
objection-filter
A filter module for objection.js
3.2k+213%-2 years ago
4.4.0
CommonJSBundledORMs and query builders
ottoman
Ottoman Couchbase ODM
3.2k+63%-2 months ago
2.5.8
CommonJSBundledORMs and query builders
@timescaledb/typeorm
This is the official TimescaleDB plugin for TypeORM.
3.2k---1 year ago
0.0.1
ESM + CommonJSBundledORMs and query builders, TypeScript tooling
mysql-migrations
A tool to use with mysql package to maintain migrations
3.2k-10%--
1.0.7
CommonJSNoneORMs and query builders
ts-sql-codegen
Generates ts-sql-query table mappings from tbls schema output
3.2k-9%-1 year ago
3.23.1
CommonJSBundledORMs and query builders, TypeScript tooling
sql-query
NodeJS SQL query builder
3.1k+169%-2 months ago
0.1.29
CommonJSNoneORMs and query builders
@mikro-orm/libsql
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.
3.1k---6 days ago
7.2.1
ESM onlyBundledTypeScript tooling, ORMs and query builders
sails-mongo
Mongo DB adapter for Sails.js/Waterline.
3.1k+25%-2 years ago
2.1.2
CommonJSNoneORMs and query builders
mongoose-slug-updater
➔ Schema-based slug plugin for Mongoose ✓ single⋮compound ✓ unique within collection⋮group ✓ nested docs⋮arrays ✓ relative⋮abs paths ✓ sync on change: create⋮save⋮update⋮updateOne⋮updateMany⋮findOneAndUpdate ✓ $set operator ✓ counter⋮shortId
3k+44%-5 years ago
3.3.0
CommonJSNoneURLs and query strings, Strings and text
mongoose-validator
Validators for mongoose models utilising validator.js
3k+24%-8 years ago
2.1.0
CommonJSNoneSchema validation, 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.

  • litedbmodel-genembedoc-based model code generator for litedbmodel — generates TypeScript column definitions from SQL DDL (PostgreSQL/MySQL/SQLite)
  • @react-querybuilder/chakraCustom Chakra UI components for react-querybuilder
  • angular2-query-builderA modernized Angular 2+ query builder based on jquery QueryBuilder
  • knex-db-managerCollection of administrative database operations for knex supported databases
  • rmAn object storage layer for Riak
  • prisma-nested-middlewareUtil for calling Prisma middleware for nested write operations
  • prisma-generator-sqlalchemyProvide a description about your generator
  • @typegoose/auto-incrementAutomaticly Increment properties
  • marvA programmatic database migration tool with plugable drivers for mysql, postgres, mssql, sqlite and oracle
  • prisma-prefixed-idsA Prisma extension that adds prefixed IDs to your models
  • @trovohealth/drizzle-bulk-loadHigh-throughput bulk load utilities for Drizzle ORM + Postgres using COPY
  • @premieroctet/next-adminNext-Admin provides a customizable and turnkey admin dashboard for applications built with Next.js and powered by the Prisma ORM. It aims to simplify the development process by providing a turnkey admin system that can be easily integrated into your proje
  • typeorm-umlGenerates UML diagrams for TypeORM projects
  • sequelize-typescript-generatorAutomatically generate type-safe Sequelize models from your source database via the TypeScript compiler API — native or sequelize-typescript (decorators) format.
  • litedbmodelA lightweight TypeScript ORM for PostgreSQL, MySQL, and SQLite with Active Record pattern
  • prisma-generator-fake-dataThe easiest way to generate mock data based on your Prisma models!
  • pgsql-testpgsql-test offers isolated, role-aware, and rollback-friendly PostgreSQL environments for integration tests — giving developers realistic test coverage without external state pollution
  • mongoose-floatThis library can solve one well known problem with JavaScript Number arithmetic imprecise, when, for example, 3.3 * 3 becomes 9.899999999999999, ugly.
  • migrate-mongooseA mongoose based migration framework for node
  • effect-prisma-generatorPrisma generator for Effect
  • mongoose-formsMongoose forms using Handlebars
  • sinon-mongooseSinon extensions for Mongoose stubs
  • @constructive-io/query-builderPostgreSQL Query Builder
  • minatoType Driven Database Framework
  • prisma-cursorstreamPrisma Stream Client Extension (Cursor-based Implementation)
  • algolia-search-builderA query parser for algolia filters
  • prisma-soft-delete-middlewarePrisma middleware for soft deleting records
  • rake-dbMigrations tool for Postgresql DB
  • ltijs-sequelizeLtijs Sequelize Database Plugin
  • @pgpmjs/bundlePGPM migration bundle — the portable, content-addressed artifact layer (create/io/verify/transpile/diff/reconcile)
  • @tsed/mongooseMongoose package for Ts.ED framework
  • prisma-zeroGenerate Zero schemas from Prisma ORM schemas
  • @veramo/data-storeVeramo data storage plugin based on TypeORM database drivers
  • js-dataRobust, framework-agnostic in-memory data store.
  • migraguardPostgreSQL schema-aware deployment control — idempotent SQL migrations with CI-enforced integrity checks, expand/contract migration orchestration, schema drift detection, and unified gating across database, application, and infrastructure rollouts
  • @shiftcoders/dynamo-easyDynamoDB client for NodeJS and browser with a fluent api to build requests. We take care of the type mapping between JS and DynamoDB, customizable trough typescript decorators.
  • @riordanpawley/effect-prisma-generatorPrisma generator for Effect (fork with Prisma 7 support)
  • uql-ormThe JSON-native TypeScript ORM for Bun, Browsers, Edge, Deno, Node, Workers. Supports PostgreSQL, PGlite, MySQL, MariaDB, SQLite, CockroachDB, SQL Server, Turso, Neon, Cloudflare D1 and MongoDB. Queries are plain JSON, typed to the leaf.
  • @pgsql/scriptsMigration script generation for PostgreSQL — derive revert and verify scripts from classified statement facts
  • @superfunctions/dbShared database adapter system for building useful backend libraries
  • objection-filterA filter module for objection.js
  • ottomanOttoman Couchbase ODM
  • @timescaledb/typeormThis is the official TimescaleDB plugin for TypeORM.
  • mysql-migrationsA tool to use with mysql package to maintain migrations
  • ts-sql-codegenGenerates ts-sql-query table mappings from tbls schema output
  • sql-queryNodeJS SQL query builder
  • @mikro-orm/libsqlTypeScript 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.
  • sails-mongoMongo DB adapter for Sails.js/Waterline.
  • mongoose-slug-updater➔ Schema-based slug plugin for Mongoose ✓ single⋮compound ✓ unique within collection⋮group ✓ nested docs⋮arrays ✓ relative⋮abs paths ✓ sync on change: create⋮save⋮update⋮updateOne⋮updateMany⋮findOneAndUpdate ✓ $set operator ✓ counter⋮shortId
  • mongoose-validatorValidators for mongoose models utilising validator.js