knorm-postgres provides Docker-based PostgreSQL management commands (start, stop, remove) for testing knorm ORM and its plugins. Version 2.0.0 is the latest stable release, with infrequent updates. It simplifies setting up disposable PostgreSQL containers for integration tests, defaulting to port 5616 and credentials knorm/knorm. Unlike general Docker tools, it is tightly coupled with knorm's testing workflow.
npm install knorm-postgresNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates starting, stopping, and removing a PostgreSQL Docker container via knorm-postgres CLI commands.
Provide a unique name via the 'name' option.
Remove existing container and restart to apply new env vars.
Upgrade Node.js to >=10 or use knorm-postgres@1.x
Install Docker from https://docs.docker.com/get-docker/
Use a different name or remove the existing container: knorm-postgres remove