zod-empty
JSON →Generates minimum default data from Zod schemas, designed for forms and react-hook-form integration. Current stable version is 2.1.0, which requires Zod 4.x and TypeScript 5.x. It provides two functions: `init()` creates empty values (empty string, 0, empty array) and `empty()` creates null defaults. Unlike random data generators, it produces deterministic, minimal data suitable for form initialization. Zod 3 users should use version 1.x. Actively maintained with regular releases.
Resources
packagezod-empty ↗