pg-pool
npmv3.14.0Connection pool for node-postgres
Overview
pg-pool is an npm package that connection pool for node-postgres. It is extremely widely used, with about 34.5M downloads per week and 1 known dependents in the graph. The latest version is 3.14.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need connection pool for node-postgres and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (34.5M weekly downloads).
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of pg-pool.
Dependencies
Peer (1)
Dev (5)
Used by
Popular packages that depend on pg-pool.
Alternatives to pg-pool
PostgreSQL client - pure javascript & libpq with the same API
Drizzle ORM package for SQL databases
Fastest full featured PostgreSQL client for Node.js
Module for reading .pgpass
AWS RDS SSL certificates bundles.
A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3
A slightly nicer interface to Postgres over node-libpq
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.
Media Type Database
Functions for dealing with a PostgreSQL connection string
sql named placeholders to unnamed compiler
Type safe SQL query builder
Frequently installed together
A socket implementation that can run on Cloudflare Workers using native TCP connections.
Next generation testing framework powered by Vite
The postgres client/server binary protocol, implemented in TypeScript
Functions for dealing with a PostgreSQL connection string
Module for reading .pgpass
TypeScript typings for Cloudflare Workers
A slightly nicer interface to Postgres over node-libpq
Version history
| Version | Published | License |
|---|---|---|
| 3.14.0latest | 2 months ago | MIT |
| 3.13.0 | 4 months ago | MIT |
| 3.12.0 | 4 months ago | MIT |
| 3.11.0 | 6 months ago | MIT |
| 3.10.1 | 1 year ago | MIT |
| 3.10.0 | 1 year ago | MIT |
| 3.9.6 | 1 year ago | MIT |
| 3.9.5 | 1 year ago | MIT |
| 3.9.2 | 1 year ago | MIT |
| 3.9.1 | 1 year ago | MIT |
| 3.9.0 | 1 year ago | MIT |
| 3.8.1-alpha.1 | 1 year ago | MIT |
| 3.8.1-alpha.0 | 1 year ago | MIT |
| 3.8.0 | 1 year ago | MIT |
| 3.7.1 | 1 year ago | MIT |
| 3.7.0 | 1 year ago | MIT |
| 3.6.2 | 2 years ago | MIT |
| 3.6.1 | 3 years ago | MIT |
| 3.6.0 | 3 years ago | MIT |
| 3.5.2 | 3 years ago | MIT |
Maintainers
Frequently asked questions
How do I install pg-pool?
Run `npm install pg-pool` to add pg-pool to your npm project.
What license is pg-pool released under?
pg-pool is distributed under the MIT license.
How popular is pg-pool?
pg-pool has approximately 34,519,452 downloads per week and 1 known dependent packages.