pg-template-tag

JSON →
library 0.1.2 ·javascript maintenance
verified Jun 5, 2026

An ESM template tag function for building parameterized PostgreSQL queries compatible with node-postgres (pg). Version 0.1.2 is stable, but the package is in maintenance mode with no active development. It provides nesting, reusable query fragments, and a .join helper, which differentiates it from raw string interpolation or other query builders by safely separating SQL text from values.