pg-aa

JSON →
library 2.1.6 ·javascript
verified Jun 5, 2026

An ES7 wrapper for node-postgres that provides a simplified, promise-based API for common PostgreSQL operations including select, insert, update, delete, and transaction management with savepoint support. Current stable version is 2.1.6. The library is minimal (< 150 lines) and relies on async/await. It supports nested transactions via savepoints and works with template string engines like sql-template. Key differentiators: very thin abstraction over node-postgres, no ORM features, pure async/await pattern.