pg-db
JSON →pg-db v2.0.0 is a helper module for node-postgres that adds transaction management, named parameter support, a simplified query API, and event hooks. It automatically returns connections to the pool and destroys connections on SQL errors. Transactions are implemented using Node.js domains, allowing different parts of an application to participate without manual context passing. Named parameters use :param syntax instead of $N. The package requires pg >= 7 as a peer dependency. No frequent releases; last update was years ago.
Resources
packagepg-db ↗