{"library":"pgsqwell","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"6.0.1","tags":["javascript","pg","sql","tag","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install pgsqwell","imports":["import sql from 'pgsqwell'","import { escapeSQLIdentifier } from 'pgsqwell'","import { sqlPart } from 'pgsqwell'","import { joinSQLValues } from 'pgsqwell'","import { emptySQLPart } from 'pgsqwell'"]},{"cmd":"yarn add pgsqwell","imports":[]},{"cmd":"pnpm add pgsqwell","imports":[]}],"homepage":"https://github.com/nfroidure/pgsqwell#readme","github":"ssh://git@github.com/nfroidure/pgsqwell","docs":null,"changelog":null,"pypi":null,"npm":"pgsqwell","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}