anatomic-postgres

JSON →
library 0.4.0 ·javascript
verified Jun 5, 2026

Anatomic-postgres is a lifecycle component for integrating the Postgres.js SQL client into the Anatomic dependency injection system for Node.js. At version 0.4.0, it wraps the 'postgres' module (commonly known as 'postgres.js') to provide managed connection lifecycle (start/stop) and configuration injection. Unlike direct use of postgres.js, this package enables declarative setup, automatic connection pooling, and graceful shutdown within an Anatomic system. It is designed for projects already using Anatomic and seeking to attach a PostgreSQL client as a managed dependency. The package is actively maintained.