ts-sql-codegen
JSON →A TypeScript code generator that produces table mapper classes for ts-sql-query by inspecting database schemas via tbls YAML output. Version 3.23.1 is current. It eliminates manual mapping and ensures type safety declaratively. Compared to manual mapping, it reduces errors and automates field type detection, documentation propagation, and naming conventions. Integrates with tbls and supports PostgreSQL, MySQL, SQLite, and more. Designed for build-time code generation with high customizability.
Resources
packagets-sql-codegen ↗