{"library":"wait-for-postgres","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.5.3","tags":["javascript","Postgres","Notify","Event"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install wait-for-postgres","imports":["import { wait } from 'wait-for-postgres'","const { wait } = require('wait-for-postgres')","// No class export; use the 'wait' function directly"]},{"cmd":"yarn add wait-for-postgres","imports":[]},{"cmd":"pnpm add wait-for-postgres","imports":[]}],"homepage":"https://github.com/joeledwards/node-wait-for-postgres#readme","github":"https://github.com/joeledwards/node-wait-for-postgres","docs":null,"changelog":null,"pypi":null,"npm":"wait-for-postgres","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}