pg-lazy
JSON →Simple functional helper layer on top of node-postgres (pg) providing convenient methods like `one()`, `many()`, `none()`, `withTransaction()`, and `canConnect()` on both Pool and Client instances. Version 3.0.2 requires Node >= 10 and peer dependency pg ^8.0.0. The library extends pg.Pool and pg.Client with ES6 classes (no longer mutating originals, stores originals as pg._Pool and pg._Client). Supports tagged template literal `sql` for safe parameterized queries. Offers both manual pool initialization and singleton mode. Release cadence appears low; no recent updates.
Traffic · last 30 days stale · no recent hits
total hits 6
actors 1 distinct systems
last hit 21d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States
Resources
packagepg-lazy ↗