{"library":"pg-extra","type":"library","category":null,"description":"pg-extra v3.0.0 provides helpful extensions and helpers for node-postgres (pg) without mutating the pg module. It adds a `pg.extra` namespace with extended Pool and Client classes that include convenient methods like `many`, `one`, `withTransaction`, `stream`, and `prepared` statement support. It also includes `sql` and `_raw` template literal tags to enforce parameterized queries and prevent SQL injection. Requires Node 8+ and pg 7.3+. Release cadence is low; stable, maintained project with no recent updates.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install pg-extra","imports":["import { extend } from 'pg-extra'","import { sql } from 'pg-extra'","import { _raw } from 'pg-extra'","const pg = extend(require('pg')); const pool = new pg.extra.Pool({})"]},{"cmd":"yarn add pg-extra","imports":[]},{"cmd":"pnpm add pg-extra","imports":[]}],"homepage":"https://github.com/danneu/pg-extra#readme","github":"https://github.com/danneu/pg-extra","docs":null,"changelog":null,"pypi":null,"npm":"pg-extra","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}