zod-mysql

JSON →
library 4.1.8 ·javascript
verified Jun 5, 2026

Generate Zod schemas and TypeScript types directly from a MySQL database schema. Version 4.1.8 provides a CLI and programmatic API to introspect tables and produce Zod objects, including auto-increment handling, nullable fields, enum support, and configurable output (camelCase, nullish, suffix, etc.). Replaces mysql-zod with different API and expanded options. Active development with monthly releases.