@SantoshYadavDev Zod is definitely the gold standard.
The manual work of creating schemas from real JSON is what slows me down the most.
Been testing field-name based inference that adds proper validators (urls, emails, dates etc.). Huge time saver.
@colinhacks z.fromJSONSchema() looks super useful.
Converting the other way (real JSON → good Zod) is still painful — everything becomes z.string().
Been testing field name inference that adds proper validators (email, url, datetime, etc.). Makes real API payloads way better.
Most Zod schemas compile fine.
They also validate almost nothing.
z.string() for email. z.number() for age with no bounds. "id" that accepts any string.
Technically valid. Practically useless.
Same Live API JSON.
json-to-zod → 0 real validators
TypeMorph → 103 real validators
Not just z.string().
Real types from actual data:
54 z.url() · 34 https://t.co/Sawdd8oqCK() · 8 datetime · 3 https://t.co/eWwI31DNHe() · 4 ranges
#TypeScript #buildinpublic
Fetched the GitHub API and piped it straight into TypeMorph
avatar_url → z.url()
node_id → z.uuid()
created_at → z.iso.datetime()
type → z.enum(["User"])
No config. It reads the field names.
npx typemorph-cli zod schema.json
#buildinpublic
Stress-tested TypeMorph against real-world OpenAPI specs.
Stripe API (7.5MB, 1,544 schemas) → TypeScript in 185ms GitHub REST (12MB, 3,038 schemas) → TypeScript in 337ms
Zero crashes. Zero any[] in Stripe output.
#buildinpublic
TypeMorph auto-generates Zod validators from field names
email → .email()
age → .int().min(0).max(150)
latitude → .min(-90).max(90)
score → .min(0).max(100)
Paste JSON. Get production-ready Zod. 100% in your browser.
#buildinpublic
I've added schema support to my LLM Python library and a CLI tool: you can now provide a JSON schema - or a new concise schema DSL - and supported models will return data matching that format
New year, new Zod — v4.3 is now available!
💎 z.xor()
💎 z.looseRecord()
💎 .exactOptional()
💎 z.string().slugify()
💎 z.meta() / z.describe()
💎 type narrowing in .refine()
💎 z.fromJSONSchema()
You’re still hand-writing API types in 2026? Your OpenAPI spec can generate TypeScript types, API clients, Zod schemas, and network-level mocks — so you ship features before backend deploys anything. @yurimikhin walks through the full setup with Hey API, Nanostores, and MSW.
https://t.co/SNDno85RHS
Do you ever paste company JSON into a random online converter and immediately feel uneasy?
I did. So I built one that runs 100% in your browser.
No servers. No uploads. Your data never leaves your machine.
→ https://t.co/Qqda9U3Nn2
Coming soon: one of history’s most complex missions
Tune in on Tuesday, June 9, at 11am ET, to meet the astronauts flying aboard Artemis III, the mission that will test docking capabilities with commercial landers in low Earth orbit — an important step to crewed lunar landings.
Zod/datetime generation improvement🚀
The generation accuracy has been strengthened.
Zod output with z.string().datetime()
Fixed values are typed like z.enum(["USD"])
This will increase the reliability of type generation.
#TypeScript #buildinpublic
We're partnering with @xai to bring Grok to @Cloudflare AI Gateway.
• Grok LLMs, audio, image, and video models are now available through AI Gateway
• Billed directly through Cloudflare
• No additional auth, env, API keys needed
𝚎𝚗𝚟.𝙰𝙸.𝚛𝚞𝚗("𝚡𝚊𝚒/𝚐𝚛𝚘𝚔-𝚒𝚖𝚊𝚐𝚒𝚗𝚎-𝚟𝚒𝚍𝚎𝚘-𝟷.𝟻-𝚙𝚛𝚎𝚟𝚒𝚎𝚠")