Schemats

JSON →
library 4.9.1 ·javascript
verified Jun 5, 2026

Schemats generates TypeScript interface definitions from PostgreSQL or MySQL database schemas. Version 4.9.1 is the latest stable release, with irregular release cadence. It supports generating types for all tables in a schema or specific tables, and provides both CLI and programmatic API. Key differentiators include config file support, type-safe query results integration with pg-promise, and handling of custom types.