CLI tool that converts PostgreSQL database schemas into TypeScript interface definitions automatically. Current stable version is 1.3.2, released in 2021 with no known ongoing maintenance. It scans a Postgres connection and generates TypeScript types for tables, views, and enums. Differentiators include direct database introspection without manual configuration and output as TypeScript source files.
npm install quidemlaboriosamNo compatibility data collected yet for this library.
Generate TypeScript interfaces from a PostgreSQL schema using CLI flags.
Consider using a maintained alternative like schemats or pg-to-ts.
Ensure PostgreSQL is accessible before running the tool.
Start your PostgreSQL service or check host/port parameters.
Verify password or update pg_hba.conf to allow password authentication.