pg-helpers

JSON →
library 1.0.0 ·javascript
verified Jun 5, 2026

pg-helpers is a lightweight Node.js library (v1.0.0) providing utility functions for querying PostgreSQL databases. It wraps common query patterns such as select, insert, update, and delete, and offers simple connection management via a configuration object. The library is designed for small-to-medium projects that want a thin layer over raw SQL without a full ORM. It uses the 'pg' package as a peer dependency and is released infrequently. Compared to Knex or Prisma, it provides minimal abstraction and is best for developers who prefer writing SQL with some helper shortcuts.