
TypeScript-first schema validation with static type inference. By @colinhacks Docs https://xitter.cf/t.co/W6H0OevG8K Discord https://xitter.cf/t.co/Vuy7uIhXYe
Typesafety, USA
Joined November 2022
- Tweets29
- Following1
- Followers3.8K
- Likes37
in the latest version of Zod
Zod adds support for ✨Standard JSON Schema ✨ xitter.cf/colinhacks/status/2000…
Zod retweeted
Zod 4 is now in beta!
💎 7x faster object parsing
💎 20x reduction in tsc instantiations
💎 57% smaller core bundle size
💎 metadata via .meta()
💎 z.toJSONSchema()
💎 z.templateLiteral()
💎 z.stringbool()
💎 z.int32(), z.float32(), etc
💎 z.file()
💎 new logo 😇
The first beta version of Zod 4 is now available!
xitter.cf/colinhacks/status/1910…
Zod retweeted
BIG DAY. Introducing Standard Schema 1.0!
It's a specification for a "common interface" to be implemented by all TypeScript schema libraries, written collaboratively by the the creators of Zod (👋), Valibot, and ArkType to promote interoperability.
standardschema.dev/
Zod retweeted
didn't know this was happening....
OpenAI is using Zod for its Structured Outputs API 🫶
xitter.cf/sama/status/1820881534…
by very popular demand, structured outputs in the API:
openai.com/index/introducing…
Zod retweeted
Zod turns 3 today! That's like 50 in JavaScript-years!
Here's the original announcement post: colinhacks.com/essays/zod
Zod retweeted
I'd heard the "parse, don't validate" mantra before but just recently tracked down @lexi_lambda's original post and it finally clicked. Honestly a relief have such a concrete explanation of why using tools like @zodtypes and @pydantic "feels" so right. lexi-lambda.github.io/blog/2…
Zod retweeted
Replying to @DavidKPiano @kentcdodds
Zod retweeted
Zod's `.catch(default)` method is SOOO good.
Thanks @colinhacks
Zod retweeted
Did you know TypeScript doesn't provide runtime type safety? @zodtypes is here to save you.
Plus it works great with Convex!
Validating user input for serverless functions is important even with end to end typescript.
Use zod with Convex to get type safety and regular safety.
buff.ly/3Hv2Rx1
I don't want to brag but I just got even cooler
Zod 3.20 is here! This is a big one.
🟢 `z.coerce`
🟢 `.pipe()`
🟢 `.catch()`
🟢 `z.symbol()`
🟢 `z.number().finite()`
🟢 `z.string().datetime()`
github.com/colinhacks/zod/re…
Zod retweeted
Playing with @zodtypes to validate some API results in my #reactnative app, what a delight! 😍 I love the simplicity of the @zodtypes API. No more excuse to protect your frontend app from bad data format 🔒

























