TypeScript MySQL Model

JSON →
library 1.12.0 ·javascript
verified Jun 5, 2026

A CLI tool and library to generate TypeScript interfaces, classes, and MySQL table schemas from database definitions. Current stable version is 1.12.0. The package relies on knex for database introspection and handlebars for templating. It is primarily used as a code generator to scaffold TypeScript models from an existing MySQL database. Release cadence is low; last update was in 2020. Differentiators include generating both TypeScript types and MySQL create table statements, and handling change-case and pluralization automatically.