mysql-types-generator
JSON →Generates TypeScript type definitions from a MySQL database schema. v2.1.0, active development, requires Node >=18.3. Automatically converts snake_case table names to PascalCase types, supports custom suffix, column type overrides, enum string generation, and tinyint-as-boolean toggle. Outputs per-table files with index re-export or single file. Useful for Knex or raw MySQL users who want typed database schemas without an ORM. Alternatives like mysql-type-defs-generator exist but this package offers a more focused API and CLI with minimal configuration.
Traffic · last 30 days ↓91% vs prev 7d
total hits 20
actors 8 distinct systems
last hit 4d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇮🇳 India · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/mysql-types-generator
compatibility /v1/registry/mysql-types-generator/compatibility