sql-code-generator
JSON →A CLI tool that generates TypeScript type definitions and typed query functions from SQL schemas and queries, supporting PostgreSQL and MySQL. At version 0.10.1, it's in early development with an oclif-based CLI. Key differentiators: generates both types and executable query functions, works with existing .sql files and .ts files containing SQL strings, and uses a single config file (codegen.sql.yml). Requires peer dependency yesql 3.2.2. Inspired by graphql-code-generator.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 3 distinct systems
last hit 16d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada
Resources
packagesql-code-generator ↗
API endpoints
full doc /v1/registry/sql-code-generator