pgsqwell
JSON →pgsqwell is an immutable SQL template tag library for PostgreSQL, currently at version 6.0.1. It provides tagged template literals (sql, sqlPart) and helpers (escapeSQLIdentifier, joinSQLValues) for safe SQL construction without risk of injection. Unlike alternatives (e.g., node-postgres template libraries), it emphasizes immutability and separation of concerns: use `sql` for full statements and `sqlPart` for subparts. It ships TypeScript declarations and requires Node >=24.14.0. The library is actively maintained with a focus on correctness and composability.
Traffic · last 30 days stale · no recent hits
total hits 6
actors 1 distinct systems
last hit 18d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States
Resources
packagepgsqwell ↗