Postgres Connection Pool
JSON →postgres-pool is a robust connection pooling library for Node.js applications designed to interact with PostgreSQL databases via the `node-pg` client. As of its current stable version, 11.0.4, it offers an actively maintained and feature-rich alternative to the original `pg-pool`, addressing specific reliability concerns such as connection timeouts that were observed in its predecessor. The library features enhanced error handling, graceful cluster failover mechanisms, and streamlined integration with AWS RDS through a simplified `ssl='aws-rds'` configuration option for secure connections. It adheres to a modern development paradigm, being built with TypeScript to enforce type safety and primarily utilizing Promises, moving away from callback-based patterns. The project typically sees frequent patch releases and major version increments roughly annually, with a significant v11 update in late 2025 transitioning `pg` to a peer dependency. It strives for API compatibility with `pg-pool` to ease migration for existing users.
Traffic · last 30 days ↑20% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇩🇪 Germany · 🇬🇧 United Kingdom · 🇳🇴 Norway