Same `User`. Same rules.
The surprise? Making 7 approaches mean the same thing was harder than making them compile. 😹
Full comparison! 🦐
dev.to/nyaomaru/i-c...
#TypeScript #OpenSource #Zod #Typia #ArkType #Valibot #RunTypes
Same `User`. Same rules.
The surprise? Making 7 approaches mean the same thing was harder than making them compile. 😹
Full comparison! 🦐
dev.to/nyaomaru/i-c...
#TypeScript #OpenSource #Zod #Typia #ArkType #Valibot #RunTypes
In JS probiere ich das gerade: wenn das funktioniert, deklassiere ich herkömmliche JS-Validierer wie Zod/ArkType.
In JS probiere ich das gerade: wenn das funktioniert, deklassiere ich herkömmliche JS-Validierer wie Zod/ArkType.
Native TS, is-kit, Runtypes, Valibot, Zod, ArkType, typia.
Same `User` type. Same validation rules.
But making them behave the same was harder than making them compile. 😹
Full comparison next Wednesday! 🦐
Native TS, is-kit, Runtypes, Valibot, Zod, ArkType, typia.
Same `User` type. Same validation rules.
But making them behave the same was harder than making them compile. 😹
Full comparison next Wednesday! 🦐
Native TS, is-kit, Runtypes, Valibot, Zod, ArkType, typia.
Same User type. Same rules.
The hard part? Making them behave the same at runtime. 😹
Full comparison next Wednesday! 🦐
#TypeScript #WebDev #EuropeanDevs
Native TS, is-kit, Runtypes, Valibot, Zod, ArkType, typia.
Same User type. Same rules.
The hard part? Making them behave the same at runtime. 😹
Full comparison next Wednesday! 🦐
#TypeScript #WebDev #EuropeanDevs
i had my phase where i was making all of these Arktype-inspired things but ... yeah
i had my phase where i was making all of these Arktype-inspired things but ... yeah
fromArkType(User) samples values that satisfy every rule, like 'string.email'.
Break one and you get ArkType's own message: age must be at least 18 (was 15).
npm i -D @mimlet/arktype arktype@2.2.5
jeffreynijs.github.io/mimlet/guide/zod-and-arktype
fromArkType(User) samples values that satisfy every rule, like 'string.email'.
Break one and you get ArkType's own message: age must be at least 18 (was 15).
npm i -D @mimlet/arktype arktype@2.2.5
jeffreynijs.github.io/mimlet/guide/zod-and-arktype
It's not just data but a built-in, ORM-like querying for it, too.
Testing!
github.com/mswjs/data
It's not just data but a built-in, ORM-like querying for it, too.
Testing!
github.com/mswjs/data
notably though it's usually things novel to me. so very obvious projects of interest get missed. examples today: arktype, valibot.
notably though it's usually things novel to me. so very obvious projects of interest get missed. examples today: arktype, valibot.
ioa has a walled garden and locks you in but also is a nice overall experience
ioa has a walled garden and locks you in but also is a nice overall experience
Arktype is the we have zod at home
Arktype is the we have zod at home
arktype.io/docs/blog/2.0
arktype.io/docs/blog/2.0
What it won't be is an env file validator (beyond syntax violations) as people can use things like zod, valibot or arktype.
What it won't be is an env file validator (beyond syntax violations) as people can use things like zod, valibot or arktype.
https://www.libhunt.com/r/typia
Event Attributes
https://www.libhunt.com/r/typia
Event Attributes
Show link: front-end-fire.com/episodes/79/
Show link: front-end-fire.com/episodes/79/