{"library":"sqltyper","type":"library","category":null,"description":"sqltyper 1.3.2 generates typed TypeScript functions from raw PostgreSQL queries by analyzing schema from a running database. It connects to a PostgreSQL database, parses SQL files containing queries with parameter placeholders (${param} or :param), and outputs .ts files with correct TypeScript types for parameters and result rows. Unlike ORMs or query builders, it works directly with SQL while providing compile-time type safety. Compatible with node-postgres, postgres.js, and pg-promise runtime libraries. Released via npm, with active development on GitHub.","language":"javascript","status":"active","version":"1.3.2","tags":["javascript","database","postgres","postgresql","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install sqltyper","imports":["import * as sql from './sqls'","import { ClientBase } from 'pg'","import { Client } from 'pg'"]},{"cmd":"yarn add sqltyper","imports":[]},{"cmd":"pnpm add sqltyper","imports":[]}],"homepage":"https://github.com/akheron/sqltyper","github":"https://github.com/akheron/sqltyper","docs":null,"changelog":null,"pypi":null,"npm":"sqltyper","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}