Zod

30 posts

Zod banner
Zod

Zod

@zodtypes

TypeScript-first schema validation with static type inference. By @colinhacks Docs https://t.co/W6H0OevG8K Discord https://t.co/Vuy7uIhXYe

Typesafety, USA Katılım Kasım 2022
1 Takip Edilen3.8K Takipçiler
Zod retweetledi
colinhacks/zod
colinhacks/zod@colinhacks·
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 😇
colinhacks/zod tweet media
English
133
365
3.7K
272.1K
Zod retweetledi
colinhacks/zod
colinhacks/zod@colinhacks·
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
English
41
246
1.6K
147.6K
Zod
Zod@zodtypes·
@JacobMGEvans i'll be closely monitoring your github history for compliance 💎
English
1
0
4
361
Jacob MG Evans
Jacob MG Evans@JacobMGEvans·
Oh damn Colin started following me... I guess I need to use Zod more 😅🤣
English
2
0
11
1.5K
Zod retweetledi
Jordan Quagliatini
Jordan Quagliatini@jquagliatini·
For people using @colinhacks 's zod, the good news is that it's integrated in the library. Simply use branded types and infer. I encourage you to read their doc on branded types, it's brilliant! zod.dev/?id=brand
Jordan Quagliatini tweet media
English
1
1
11
3.2K
Matt Stobbs
Matt Stobbs@matt_stobbs·
In my @remix_run project, I've been using a small wrapper around useLoaderData to parse the data with @zodtypes. It's been really nice so far, seems to be the best of all worlds!
Matt Stobbs tweet media
English
3
2
111
30.2K
Zod retweetledi
Asher Cohen 🤖🤳
Asher Cohen 🤖🤳@code_tank_dev·
@DavidKPiano @kentcdodds We built schema based forms using @HookForm + @zodtypes + form components we created + custom components can be added. We can manually compose forms, or generate from JSON and it really saves so much time (and so many calls to useState)
English
0
1
6
1.7K
Zod retweetledi
Tanner Linsley
Tanner Linsley@tannerlinsley·
Zod's `.catch(default)` method is SOOO good. Thanks @colinhacks
English
3
5
139
36K
Zod
Zod@zodtypes·
@TimMattison Looks like the docs are wrong here :/ Fix incoming
English
0
0
1
17