{"library":"ts-postgres","type":"library","category":null,"description":"Non-blocking PostgreSQL client for Node.js written in TypeScript, currently at v2.0.4. Supports both ESM and CommonJS modules. Key differentiators include built-in types, pipeline queries, extensible value model, and hybrid query result objects (iterable both synchronously and asynchronously). Has no runtime dependencies, but requires Node >=18 and @types/node peer dependency. Actively maintained on GitHub with regular releases. Compared to alternatives like `pg`, it offers TypeScript-first design and binary result data format.","language":"javascript","status":"active","version":"2.0.4","tags":["javascript","database","postgres","postgresql","rdbms","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install ts-postgres","imports":["import { connect } from 'ts-postgres'","import { Client } from 'ts-postgres'","import type { Configuration } from 'ts-postgres'"]},{"cmd":"yarn add ts-postgres","imports":[]},{"cmd":"pnpm add ts-postgres","imports":[]}],"homepage":"https://github.com/malthe/ts-postgres","github":"git://github.com/malthe/ts-postgres","docs":null,"changelog":null,"pypi":null,"npm":"ts-postgres","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}