PostgresNodeContainer

JSON →
library 1.0.2 ·javascript
verified Jun 5, 2026

A Node.js library (v1.0.2) that programmatically starts and stops a PostgreSQL Docker container from integration tests. Provides connection details (host, port, credentials) and a connection string. Released as stable with TypeScript types. Differentiates from testcontainers by being a single-purpose, minimal wrapper around Dockerode with no dependencies on test frameworks. Suitable for throwaway databases in CI or local testing.