wait-for-postgres

JSON →
library 1.5.3 ·javascript
verified Jun 5, 2026

A CLI tool and Node.js module that polls a PostgreSQL server until a connection succeeds or a custom query returns valid results. Version 1.5.3 is stable, with infrequent releases. It is lightweight (no production dependencies) and synchronous by default, distinguishing it from async-oriented alternatives like pg-pool or custom loops. Suitable for Docker entrypoints, CI scripts, and deployment automation.