Re:Zod 4
by _tqr3 on Monday May 19, 2025 @12:25PM
(#44031512)
The TypeScript compiler is only needed during development, the compiled JavaScript code contains no TypeScript-specific logic. Zod’s validation is entirely JavaScript-based, relying on simple checks (e.g., typeof, regexes, comparisons).
Also, the 2kb bundle just for the zod/v4-mini package, the full zod/v4 package is quite large.
Also, the 2kb bundle just for the zod/v4-mini package, the full zod/v4 package is quite large.