Preparing for system design interviews?  Try bugzed.com →

sql-code-generator

JSON →
library 0.10.1 ·javascript
verified Jun 5, 2026

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.

total hits 8
actors 3 distinct systems
last hit 16d ago AhrefsBot
GPTBot
3
Search engines
1
Humans
3

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada