fabien0102/ts-to-zod
View on GitHub ↗ ★ 1,640 TypeScript
Generate zod schemas from typescript types/interfaces
3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2022-07-28 · latest 2025-09-19
20082026
-
▲ 1
Ts-to-zod – Generate Zod schemas (v4) from TypeScript types/interfacesstory by javatuts · 2025-09-19 · 0 comments
-
…you duplicating that in Typescript? Or can you just go ts-to-zod[1] then zod-to-json-schema? [1]: https://github.com/fabien0102/ts-to-zod
comment by pcthrowaway · 2023-01-31 · in Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees -
…works the other way, you can define a zod schema and you can infer types for your data from it. https://github.com/fabien0102/ts-to-zod
comment by xmonkee · 2022-07-28 · in Ultra-minimal JSON schemas with TypeScript inference