gen-mysql-entities
JSON →CLI tool to auto-generate TypeScript entity functions from a MySQL database schema. Version 0.4.0, updates are occasional. Produces typed CRUD functions using @sinclair/typebox for schema validation and ajv/ajv-formats for runtime validation. Key differentiator: generates both types and validation logic from live database tables in one command, with support for MySQL 5.6 and 5.7. Relies on mariadb driver. Suitable for Node.js/TypeScript projects already using TypeBox and AJV.
Resources
packageatp-gen-mysql-entities-cli ↗