Package category
Database clients and drivers
Drivers and clients for SQL and NoSQL databases.
672 packages5 comparisons
Packages compared
672 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| keyv Simple key-value storage with support for multiple backends | 121.7m | +140% | - | 8 months ago 5.6.0 | ESM + CommonJS | Bundled | Database clients and drivers, Caching | |
| postgres-array Parse postgres array columns | 48.3m | +217% | - | 1 year ago 3.0.4 | CommonJS | Bundled | Database clients and drivers | |
| pg-protocol The postgres client/server binary protocol, implemented in TypeScript | 45.7m | +233% | - | 1 month ago 1.16.0 | ESM + CommonJS | Bundled | Database clients and drivers | |
| postgres-bytea Postgres bytea parser | 44.6m | +187% | - | 6 years ago 3.0.0 | CommonJS | None | Parsers and serialisers, Database clients and drivers | |
| postgres-interval Parse Postgres interval columns | 44.6m | +198% | - | 2 months ago 4.1.0 | CommonJS | Bundled | Database clients and drivers | |
| postgres-date Postgres date column parser | 44.4m | +198% | - | 4 years ago 2.1.0 | CommonJS | Bundled | Date and time, Database clients and drivers | |
| pg-types Query result type converters for node-postgres | 44.4m | +202% | - | 1 year ago 4.1.0 | CommonJS | Bundled | Database clients and drivers | |
| pg-connection-string Functions for dealing with a PostgreSQL connection string | 41.2m | +231% | - | 3 months ago 2.14.0 | ESM + CommonJS | Bundled | Database clients and drivers | |
| pg PostgreSQL client - pure javascript & libpq with the same API | 38.5m | +308% | - | 1 month ago 8.23.0 | ESM + CommonJS | None | Database clients and drivers | |
| pg-pool Connection pool for node-postgres | 36.3m | +301% | - | 4 months ago 3.14.0 | ESM + CommonJS | None | Database clients and drivers | |
| pg-cloudflare A socket implementation that can run on Cloudflare Workers using native TCP connections. | 35m | +347% | - | 4 months ago 1.4.0 | ESM + CommonJS | Bundled | Database clients and drivers | |
| pgpass Module for reading .pgpass | 34.9m | +293% | - | 3 months ago 1.0.6 | CommonJS | None | Database clients and drivers | |
| cluster-key-slot Generates CRC hashes for strings - for use by node redis clients to determine key slots. | 24.4m | +181% | - | 3 years ago 1.1.2 | CommonJS | Bundled | Database clients and drivers | |
| redis-errors Error classes used in node_redis | 17.7m | +157% | - | 9 years ago 1.2.0 | CommonJS | None | Database clients and drivers | |
| redis-parser Javascript Redis protocol (RESP) parser | 16.8m | +137% | - | 9 years ago 3.0.0 | CommonJS | None | Database clients and drivers, Parsers and serialisers | |
| @keyv/serialize Serialization for Keyv | 16.6m | +294% | - | 1 year ago 1.1.1 | ESM + CommonJS | Bundled | Caching, Database clients and drivers | |
| @opentelemetry/instrumentation-pg OpenTelemetry instrumentation for `pg` and `pg-pool` database client for PostgreSQL | 16.2m | +136% | - | 24 days ago 0.74.0 | CommonJS | Bundled | Monitoring and error tracking, Database clients and drivers | |
| @opentelemetry/instrumentation-mongodb OpenTelemetry instrumentation for `mongodb` database client for MongoDB | 15.1m | +145% | - | 24 days ago 0.75.0 | CommonJS | Bundled | Monitoring and error tracking, Database clients and drivers | |
| @opentelemetry/instrumentation-mysql OpenTelemetry instrumentation for `mysql` database client for MySQL | 14.8m | +146% | - | 24 days ago 0.68.0 | CommonJS | Bundled | Monitoring and error tracking, Database clients and drivers | |
| @opentelemetry/instrumentation-mysql2 OpenTelemetry instrumentation for `mysql2` database client for MySQL | 14.1m | +139% | - | 24 days ago 0.68.0 | CommonJS | Bundled | Monitoring and error tracking, Database clients and drivers | |
| @opentelemetry/instrumentation-ioredis OpenTelemetry instrumentation for `ioredis` database redis client for Redis | 14.1m | +134% | - | 24 days ago 0.70.0 | CommonJS | Bundled | Monitoring and error tracking, Database clients and drivers | |
| @opentelemetry/instrumentation-tedious OpenTelemetry instrumentation for `tedious` database client for Microsoft SQL Server | 13.8m | +144% | - | 24 days ago 0.41.0 | CommonJS | Bundled | Monitoring and error tracking, Database clients and drivers | |
| @electric-sql/pglite PGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It is only 3.7mb gzipped. | 12.5m | +863% | - | 29 days ago 0.5.8 | ESM + CommonJS | Bundled | Database clients and drivers | |
| postgres Fastest full featured PostgreSQL client for Node.js | 12.2m | +1119% | - | 5 months ago 3.4.9 | ESM only | Bundled | Database clients and drivers | |
| @opentelemetry/instrumentation-redis OpenTelemetry instrumentation for `redis` database client for Redis | 11.7m | +243% | - | 24 days ago 0.70.0 | CommonJS | Bundled | Monitoring and error tracking, Database clients and drivers | |
| bson A bson parser for node.js and the browser | 11m | +50% | - | 9 days ago 7.3.3 | ESM + CommonJS | Bundled | Database clients and drivers | |
| mongodb The official MongoDB driver for Node.js | 10.6m | +50% | - | 1 month ago 7.6.0 | CommonJS | Bundled | Database clients and drivers | |
| mysql2 fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS | 10.5m | +228% | - | 17 days ago 3.24.4 | CommonJS | Bundled | Database clients and drivers | |
| named-placeholders sql named placeholders to unnamed compiler | 10m | +237% | - | 9 months ago 1.1.6 | CommonJS | None | Database clients and drivers | |
| aws-ssl-profiles AWS RDS SSL certificates bundles. | 9.2m | +345% | - | 2 years ago 1.1.2 | CommonJS | Bundled | Cloud SDKs, Database clients and drivers | |
| better-sqlite3 The fastest and simplest library for SQLite in Node.js. | 7.4m | +356% | - | 1 month ago 13.0.3 | CommonJS | None | Database clients and drivers | |
| @electric-sql/pglite-tools Tools for working with PGlite databases | 6.1m | +1503% | - | 29 days ago 0.4.8 | ESM + CommonJS | Bundled | Database clients and drivers | |
| bullmq Queue for messages and jobs based on Redis | 5.9m | +313% | - | 6 days ago 6.3.8 | ESM + CommonJS | Bundled | Queues and background jobs, Database clients and drivers | |
| @electric-sql/pglite-socket A socket implementation for PGlite enabling remote connections | 5m | +51076% | - | 29 days ago 0.2.11 | ESM + CommonJS | Bundled | Database clients and drivers | |
| mpath {G,S}et object values using MongoDB-like path notation | 4.7m | +70% | - | 4 years ago 0.9.0 | CommonJS | None | Database clients and drivers | |
| @upstash/redis An HTTP/REST based Redis client built on top of Upstash REST API. | 3.5m | +382% | - | 4 days ago 1.39.0 | ESM + CommonJS | Bundled | Database clients and drivers, Cloud SDKs | |
| cache-manager Cache Manager for Node.js | 3.1m | +62% | - | 2 months ago 7.2.9 | ESM + CommonJS | Bundled | Caching, Database clients and drivers | |
| tedious A TDS driver, for connecting to MS SQLServer databases. | 3.1m | +90% | - | 3 months ago 20.0.0 | CommonJS | Bundled | Database clients and drivers | |
| @neondatabase/serverless node-postgres for serverless environments from neon.com | 2.8m | +290% | - | 5 months ago 1.1.0 | ESM + CommonJS | Bundled | Cloud SDKs, Database clients and drivers | |
| @testcontainers/postgresql PostgreSQL module for Testcontainers | 2.4m | +383% | - | 1 month ago 12.1.0 | CommonJS | Bundled | Testing, Database clients and drivers | |
| libsql A better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node | 2.2m | +491% | - | 6 months ago 0.5.29 | CommonJS | Bundled | Database clients and drivers, Node.js utilities | |
| mssql Microsoft SQL Server client for Node.js. | 2.1m | +117% | - | 14 days ago 12.7.2 | CommonJS | None | Database clients and drivers | |
| @libsql/client libSQL driver for TypeScript and JavaScript | 2m | +476% | - | 23 days ago 0.18.0 | ESM + CommonJS | Bundled | Cloud SDKs, Database clients and drivers | |
| @libsql/core libSQL driver for TypeScript and JavaScript | 2m | +497% | - | 23 days ago 0.18.0 | ESM + CommonJS | Bundled | Cloud SDKs, Database clients and drivers | |
| @libsql/hrana-client Hrana client for connecting to sqld over HTTP or WebSocket | 2m | +506% | - | 5 months ago 0.10.0 | ESM + CommonJS | Bundled | Database clients and drivers | |
| pg-cursor Query cursor extension for node-postgres | 2m | +174% | - | 1 month ago 2.22.0 | ESM + CommonJS | None | Database clients and drivers | |
| sql.js SQLite library with support for opening and writing databases, prepared statements, and more. This SQLite library is in pure javascript (compiled with emscripten). | 1.9m | +1666% | - | 1 month ago 1.14.2 | CommonJS | None | Database clients and drivers | |
| sqlite3 Asynchronous, non-blocking SQLite3 bindings | 1.8m | +25% | - | 6 months ago 6.0.1 | CommonJS | Bundled | Database clients and drivers | |
| dexie A Minimalistic Wrapper for IndexedDB | 1.7m | +174% | - | 14 days ago 4.4.6 | - | - | Database clients and drivers | |
| typewise Typewise-structured sorting for arbitrarily complex data structures | 1.6m | +135% | - | 11 years ago 1.0.3 | - | - | Database clients and drivers |
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.
- keyvSimple key-value storage with support for multiple backends
- postgres-arrayParse postgres array columns
- pg-protocolThe postgres client/server binary protocol, implemented in TypeScript
- postgres-byteaPostgres bytea parser
- postgres-intervalParse Postgres interval columns
- postgres-datePostgres date column parser
- pg-typesQuery result type converters for node-postgres
- pg-connection-stringFunctions for dealing with a PostgreSQL connection string
- pgPostgreSQL client - pure javascript & libpq with the same API
- pg-poolConnection pool for node-postgres
- pg-cloudflareA socket implementation that can run on Cloudflare Workers using native TCP connections.
- pgpassModule for reading .pgpass
- cluster-key-slotGenerates CRC hashes for strings - for use by node redis clients to determine key slots.
- redis-errorsError classes used in node_redis
- redis-parserJavascript Redis protocol (RESP) parser
- @keyv/serializeSerialization for Keyv
- @opentelemetry/instrumentation-pgOpenTelemetry instrumentation for `pg` and `pg-pool` database client for PostgreSQL
- @opentelemetry/instrumentation-mongodbOpenTelemetry instrumentation for `mongodb` database client for MongoDB
- @opentelemetry/instrumentation-mysqlOpenTelemetry instrumentation for `mysql` database client for MySQL
- @opentelemetry/instrumentation-mysql2OpenTelemetry instrumentation for `mysql2` database client for MySQL
- @opentelemetry/instrumentation-ioredisOpenTelemetry instrumentation for `ioredis` database redis client for Redis
- @opentelemetry/instrumentation-tediousOpenTelemetry instrumentation for `tedious` database client for Microsoft SQL Server
- @electric-sql/pglitePGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It is only 3.7mb gzipped.
- postgresFastest full featured PostgreSQL client for Node.js
- @opentelemetry/instrumentation-redisOpenTelemetry instrumentation for `redis` database client for Redis
- bsonA bson parser for node.js and the browser
- mongodbThe official MongoDB driver for Node.js
- mysql2fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
- named-placeholderssql named placeholders to unnamed compiler
- aws-ssl-profilesAWS RDS SSL certificates bundles.
- better-sqlite3The fastest and simplest library for SQLite in Node.js.
- @electric-sql/pglite-toolsTools for working with PGlite databases
- bullmqQueue for messages and jobs based on Redis
- @electric-sql/pglite-socketA socket implementation for PGlite enabling remote connections
- mpath{G,S}et object values using MongoDB-like path notation
- @upstash/redisAn HTTP/REST based Redis client built on top of Upstash REST API.
- cache-managerCache Manager for Node.js
- tediousA TDS driver, for connecting to MS SQLServer databases.
- @neondatabase/serverlessnode-postgres for serverless environments from neon.com
- @testcontainers/postgresqlPostgreSQL module for Testcontainers
- libsqlA better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node
- mssqlMicrosoft SQL Server client for Node.js.
- @libsql/clientlibSQL driver for TypeScript and JavaScript
- @libsql/corelibSQL driver for TypeScript and JavaScript
- @libsql/hrana-clientHrana client for connecting to sqld over HTTP or WebSocket
- pg-cursorQuery cursor extension for node-postgres
- sql.jsSQLite library with support for opening and writing databases, prepared statements, and more. This SQLite library is in pure javascript (compiled with emscripten).
- sqlite3Asynchronous, non-blocking SQLite3 bindings
- dexieA Minimalistic Wrapper for IndexedDB
- typewiseTypewise-structured sorting for arbitrarily complex data structures