{"library":"possu","type":"library","category":null,"description":"A small companion library for node-postgres that reduces boilerplate by using tagged template literals for SQL queries, with automatic result row/column unwrapping. Current stable version 3.0.0, released periodically. Key differentiators: Promise-based API, runtime SQL injection prevention via tagged templates, built-in transaction and savepoint handling with retry on serialization failures/deadlocks, first-class TypeScript support, and not a framework – works directly with pg.Pool/pg.PoolClient.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","pg","postgres","postgresql","node-postgres","promise","tagged","template","strings","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install possu","imports":["import { sql } from 'possu'","import { query } from 'possu'","import { withTransaction } from 'possu'","import { queryOne } from 'possu'","import { queryMaybeOne } from 'possu'"]},{"cmd":"yarn add possu","imports":[]},{"cmd":"pnpm add possu","imports":[]}],"homepage":"https://github.com/sluukkonen/possu","github":"https://github.com/sluukkonen/possu","docs":null,"changelog":null,"pypi":null,"npm":"possu","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}