Package category
ORMs and query builders
Object-relational mappers, query builders and migration tools.
444 packages12 comparisons
Packages compared
444 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| drizzle-orm Drizzle ORM package for SQL databases | 16.3m | +710% | - | 4 days ago 0.45.3 | ESM + CommonJS | Bundled | ORMs and query builders, TypeScript tooling | |
| @opentelemetry/instrumentation-mongoose OpenTelemetry instrumentation for `mongoose` database object data modeling (ODM) library for MongoDB | 14.2m | +125% | - | 24 days ago 0.68.0 | CommonJS | Bundled | Monitoring and error tracking, ORMs and query builders | |
| @opentelemetry/instrumentation-knex OpenTelemetry instrumentation for `knex` database SQL query builder | 13.9m | +144% | - | 24 days ago 0.66.0 | CommonJS | Bundled | Monitoring and error tracking, ORMs and query builders | |
| drizzle-kit Drizzle Kit is a CLI migrator tool for Drizzle ORM. It is probably the one and only tool that lets you completely automatically generate SQL migrations and covers ~95% of the common cases like deletions and renames by prompting user input. <https://github | 13.6m | +754% | - | 4 days ago 0.31.11 | ESM + CommonJS | Bundled | ORMs and query builders, TypeScript tooling | |
| prisma The Prisma CLI: one binary for the ORM, Composer, and the Prisma Developer Platform. | 12.2m | +160% | - | today 8.0.0-rc.17 | ESM only | Bundled | ORMs and query builders, CLI tools and terminal utilities | |
| kysely Type safe SQL query builder | 12m | +1153% | - | 9 days ago 0.29.6 | ESM only | None | ORMs and query builders, TypeScript tooling | |
| @prisma/client Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases. | 11.8m | +235% | - | 30 days ago 7.10.0 | ESM + CommonJS | Bundled | ORMs and query builders, TypeScript tooling | |
| @prisma/instrumentation OpenTelemetry compliant instrumentation for Prisma Client | 8.7m | +93% | - | 1 month ago 7.10.0 | ESM + CommonJS | Bundled | ORMs and query builders, Monitoring and error tracking | |
| mongoose Mongoose MongoDB ODM | 4.8m | +62% | - | 2 days ago 9.10.2 | CommonJS | Bundled | ORMs and query builders | |
| @prisma/dev A local Prisma Postgres server for development and testing | 4.6m | +142609% | - | 1 month ago 0.25.2 | ESM + CommonJS | Bundled | ORMs and query builders, Testing | |
| mquery Expressive query building for MongoDB | 4.5m | +61% | - | 10 months ago 6.0.0 | CommonJS | None | ORMs and query builders, Node.js utilities | |
| knex A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3 | 3.8m | +74% | - | 2 months ago 3.3.0 | CommonJS | Bundled | ORMs and query builders | |
| typeorm Data-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases. | 3.6m | +55% | - | 24 days ago 1.1.1 | ESM + CommonJS | Bundled | ORMs and query builders, TypeScript tooling | |
| drizzle-zod Generate Zod schemas from Drizzle ORM schemas | 2.2m | +212% | - | 1 year ago 0.8.3 | ESM + CommonJS | Bundled | ORMs and query builders, Schema validation | |
| rate-limiter-flexible Node.js atomic and non-atomic counters, rate limiting tools, protection from DoS and brute-force attacks at scale | 2m | +95% | - | 7 days ago 11.2.1 | CommonJS | Bundled | Security, HTTP servers and web frameworks | |
| sequelize Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift and Snowflake’s Data Cloud. It features solid transaction support, relations, eager and lazy loading, read replication and more. | 2m | +5% | - | 6 months ago 6.37.8 | ESM + CommonJS | Bundled | ORMs and query builders | |
| @nestjs/terminus Terminus integration provides readiness/liveness health checks for NestJS. | 1.9m | +97% | - | 4 days ago 12.1.0 | ESM only | Bundled | ORMs and query builders, Queues and background jobs | |
| sequelize-pool Resource pooling for Node.JS | 1.9m | +9% | - | 1 year ago 8.0.1 | CommonJS | Bundled | ORMs and query builders | |
| umzug Framework-agnostic migration tool for Node | 1.5m | +28% | - | 4 months ago 3.8.3 | - | - | ORMs and query builders | |
| mongodb-memory-server-core MongoDB Server for testing (core package, without autodownload). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other. | 1.4m | +100% | - | 3 days ago 11.3.0 | - | - | ORMs and query builders | |
| mongodb-memory-server MongoDB Server for testing (auto-download latest version). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other. | 1.4m | +99% | - | 3 days ago 11.3.0 | - | - | ORMs and query builders | |
| @walletconnect/keyvaluestorage Isomorphic Key-Value Storage | 1.3m | - | - | - | 2 years ago 1.1.1 | - | - | ORMs and query builders |
| @ucast/mongo2js git@github.com:stalniy/ucast.git | 1.1m | - | - | - | 5 months ago 2.0.0 | ESM + CommonJS | Bundled | ORMs and query builders |
| @ucast/js git@github.com:stalniy/ucast.git | 1.1m | - | - | - | 5 months ago 4.0.1 | ESM + CommonJS | Bundled | ORMs and query builders |
| @ucast/core git@github.com:stalniy/ucast.git | 1.1m | - | - | - | 5 months ago 2.0.0 | ESM + CommonJS | Bundled | ORMs and query builders |
| @ucast/mongo git@github.com:stalniy/ucast.git | 1.1m | - | - | - | 5 months ago 3.0.0 | ESM + CommonJS | Bundled | ORMs and query builders |
| keyvaluestorage-interface Isomorphic Key-Value Storage Interface | 999.1k | +76% | - | 5 years ago 1.0.0 | CommonJS | Bundled | ORMs and query builders | |
| @mikro-orm/core 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. | 659.4k | - | - | - | 6 days ago 7.2.1 | ESM only | Bundled | TypeScript tooling, ORMs and query builders |
| mikro-orm 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. | 564.3k | +147% | - | 6 days ago 7.2.1 | ESM only | Bundled | TypeScript tooling, ORMs and query builders | |
| @mikro-orm/postgresql 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. | 545.2k | - | - | - | 6 days ago 7.2.1 | ESM only | Bundled | TypeScript tooling, ORMs and query builders |
| node-pg-migrate PostgreSQL database migration management tool for node.js | 527.6k | +432% | - | 2 months ago 9.0.0 | ESM only | Bundled | ORMs and query builders | |
| @mikro-orm/knex 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. | 484.3k | - | - | - | 4 months ago 6.6.14 | ESM + CommonJS | Bundled | TypeScript tooling, ORMs and query builders |
| @mikro-orm/migrations 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. | 391.3k | - | - | - | 6 days ago 7.2.1 | ESM only | Bundled | ORMs and query builders, TypeScript tooling |
| pg-mem A memory version of postgres | 377.4k | +209% | - | 6 months ago 3.0.14 | CommonJS | Bundled | Testing, ORMs and query builders | |
| sequelize-typescript Decorators and some other features for sequelize | 373.9k | +25% | - | 2 years ago 2.1.6 | CommonJS | Bundled | ORMs and query builders, TypeScript tooling | |
| typeorm-naming-strategies Custom naming strategies for typeorm | 358.1k | +61% | - | 4 years ago 4.1.0 | CommonJS | Bundled | ORMs and query builders | |
| react-querybuilder React Query Builder component for constructing queries and filters, with utilities for executing them in various database and evaluation contexts | 351.2k | +264% | - | 4 days ago 8.24.1 | ESM + CommonJS | Bundled | ORMs and query builders, React | |
| @mikro-orm/cli 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. | 341k | - | - | - | 6 days ago 7.2.1 | ESM only | Bundled | TypeScript tooling, ORMs and query builders |
| @react-querybuilder/core React Query Builder component for constructing queries and filters, with utilities for executing them in various database and evaluation contexts | 297.2k | - | - | - | 4 days ago 8.24.1 | ESM + CommonJS | Bundled | ORMs and query builders, React |
| mongoose-legacy-pluralize Legacy pluralization logic for mongoose | 271.3k | -16% | - | - 2.0.0 | CommonJS | None | ORMs and query builders | |
| mongodb-uri A parser and formatter for MongoDB URIs. | 260.5k | +55% | - | 12 years ago 0.9.7 | CommonJS | None | URLs and query strings, ORMs and query builders | |
| drizzle-seed A package to seed your database using Drizzle ORM | 234.2k | +246% | - | 1 year ago 0.3.1 | ESM + CommonJS | Bundled | ORMs and query builders, TypeScript tooling | |
| @mikro-orm/reflection 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. | 218.7k | - | - | - | 6 days ago 7.2.1 | ESM only | Bundled | TypeScript tooling, ORMs and query builders |
| @mikro-orm/mysql 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. | 204.9k | - | - | - | 6 days ago 7.2.1 | ESM only | Bundled | TypeScript tooling, ORMs and query builders |
| @mikro-orm/nestjs NestJS module for MikroORM | 195.8k | - | - | - | 25 days ago 7.1.0 | ESM only | Bundled | ORMs and query builders |
| pg-node-migrations Based on the work on ThomWright's postgres migration package. Adds the ability to specify a schema and table name. | 183.7k | +7288% | - | 4 years ago 0.0.8 | CommonJS | Bundled | ORMs and query builders | |
| @typegoose/typegoose Define Mongoose models using TypeScript classes | 182.7k | - | - | - | 2 days ago 13.5.0 | CommonJS | Bundled | ORMs and query builders, TypeScript tooling |
| mongoose-paginate-v2 A custom pagination library for Mongoose with customizable labels. | 176.7k | +47% | - | 3 months ago 1.9.5 | CommonJS | Bundled | ORMs and query builders | |
| eslint-plugin-drizzle Eslint plugin for drizzle users to avoid common pitfalls | 176.1k | +143% | - | 2 years ago 0.2.3 | CommonJS | None | Linting and formatting, ORMs and query builders | |
| elastic-builder A JavaScript implementation of the elasticsearch Query DSL | 175.3k | +5% | - | 10 months ago 4.1.0 | CommonJS | Bundled | Templating, 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.
- drizzle-ormDrizzle ORM package for SQL databases
- @opentelemetry/instrumentation-mongooseOpenTelemetry instrumentation for `mongoose` database object data modeling (ODM) library for MongoDB
- @opentelemetry/instrumentation-knexOpenTelemetry instrumentation for `knex` database SQL query builder
- drizzle-kitDrizzle Kit is a CLI migrator tool for Drizzle ORM. It is probably the one and only tool that lets you completely automatically generate SQL migrations and covers ~95% of the common cases like deletions and renames by prompting user input. <https://github
- prismaThe Prisma CLI: one binary for the ORM, Composer, and the Prisma Developer Platform.
- kyselyType safe SQL query builder
- @prisma/clientPrisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.
- @prisma/instrumentationOpenTelemetry compliant instrumentation for Prisma Client
- mongooseMongoose MongoDB ODM
- @prisma/devA local Prisma Postgres server for development and testing
- mqueryExpressive query building for MongoDB
- knexA batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3
- typeormData-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
- drizzle-zodGenerate Zod schemas from Drizzle ORM schemas
- rate-limiter-flexibleNode.js atomic and non-atomic counters, rate limiting tools, protection from DoS and brute-force attacks at scale
- sequelizeSequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift and Snowflake’s Data Cloud. It features solid transaction support, relations, eager and lazy loading, read replication and more.
- @nestjs/terminusTerminus integration provides readiness/liveness health checks for NestJS.
- sequelize-poolResource pooling for Node.JS
- umzugFramework-agnostic migration tool for Node
- mongodb-memory-server-coreMongoDB Server for testing (core package, without autodownload). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.
- mongodb-memory-serverMongoDB Server for testing (auto-download latest version). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.
- @walletconnect/keyvaluestorageIsomorphic Key-Value Storage
- @ucast/mongo2jsgit@github.com:stalniy/ucast.git
- @ucast/jsgit@github.com:stalniy/ucast.git
- @ucast/coregit@github.com:stalniy/ucast.git
- @ucast/mongogit@github.com:stalniy/ucast.git
- keyvaluestorage-interfaceIsomorphic Key-Value Storage Interface
- @mikro-orm/coreTypeScript 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.
- mikro-ormTypeScript 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.
- @mikro-orm/postgresqlTypeScript 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.
- node-pg-migratePostgreSQL database migration management tool for node.js
- @mikro-orm/knexTypeScript 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.
- @mikro-orm/migrationsTypeScript 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.
- pg-memA memory version of postgres
- sequelize-typescriptDecorators and some other features for sequelize
- typeorm-naming-strategiesCustom naming strategies for typeorm
- react-querybuilderReact Query Builder component for constructing queries and filters, with utilities for executing them in various database and evaluation contexts
- @mikro-orm/cliTypeScript 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.
- @react-querybuilder/coreReact Query Builder component for constructing queries and filters, with utilities for executing them in various database and evaluation contexts
- mongoose-legacy-pluralizeLegacy pluralization logic for mongoose
- mongodb-uriA parser and formatter for MongoDB URIs.
- drizzle-seedA package to seed your database using Drizzle ORM
- @mikro-orm/reflectionTypeScript 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.
- @mikro-orm/mysqlTypeScript 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.
- @mikro-orm/nestjsNestJS module for MikroORM
- pg-node-migrationsBased on the work on ThomWright's postgres migration package. Adds the ability to specify a schema and table name.
- @typegoose/typegooseDefine Mongoose models using TypeScript classes
- mongoose-paginate-v2A custom pagination library for Mongoose with customizable labels.
- eslint-plugin-drizzleEslint plugin for drizzle users to avoid common pitfalls
- elastic-builderA JavaScript implementation of the elasticsearch Query DSL
- kysely vs @prisma/client
- drizzle-orm vs sequelize-typescript
- @prisma/client vs sequelize-typescript
- drizzle-orm vs typeorm
- kysely vs typeorm
- @prisma/client vs typeorm
- @prisma/client vs sequelize
- kysely vs sequelize-typescript
- drizzle-orm vs sequelize
- drizzle-orm vs @typegoose/typegoose
- @prisma/client vs knex
- kysely vs knex