Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2022 (1)
20082026
  1. ▲ 1
    Ts-to-zod – Generate Zod schemas (v4) from TypeScript types/interfaces
    story by javatuts · 2025-09-19 · 0 comments
  2. …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
  3. …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