postgres-schema-ts
JSON →Convert PostgreSQL schemas into TypeScript interfaces. v0.5.0 is the latest stable release. This package provides a CLI and programmatic API to generate TypeScript type definitions from Postgres database schemas. It focuses on simplicity with no configuration required, supporting both full schema inference and per-table generation. Unlike alternatives like schemats, it is Postgres-only, uses inline enums, and avoids namespaces. The generation respects PostgreSQL defaults such as nullable columns (producing union with null) and timestamp mapping to Date. No recent updates since 2022.
Traffic · last 30 days stale · no recent hits
total hits 7
actors 2 distinct systems
last hit 19d ago Bingbot
top countries 🇺🇸 United States · 🇸🇬 Singapore
Resources
packagepostgres-schema-ts ↗
API endpoints
full doc /v1/registry/postgres-schema-ts