Video Description
There are lots of solutions for data validation in JavaScript. But only recently have we got libraries that provide a great feature set and excellent TypeScript compatibility and that’s exactly what we will cover in this tutorial so let's go 🌹
Why exceptions for validation are bad:
https://www.youtube.com/watch?v=ea6pa3uZySsFinal Code on GitHub :
https://github.com/basarat/demo-zodChapters
0:00 what is zod for
0:12 example use case
1:25 using zod
3:38 final thoughts
#basarat #JavaScript #TypeScript #Tutorial #zod #NodeJS #DataValidation
👇 ❤️ Subscribe for MOORE ❤️ 👇
https://www.youtube.com/basaratali?sub_confirmation=1**Feel Free To Read This Lot**
I'm Basarat, and I love helping developers. More about me:
Microsoft MVP for TypeScript
200K contributions on Stackoverflow. Top Contributor for TypeScript.
Udemy Courses:
https://www.udemy.com/user/basaratalisyed/ Creator
https://designtsx.comBook Author: Beginning NodeJS
Book Author: TypeScript Deep Dive
Egghead Instructor:
https://egghead.io/q/resources-by-basarat-ali-syed?af=bxr3iCreator of multiple hot ✨ed Github Open Source projects
Follow me on Twitter:
https://twitter.com/basaratFollow me on GitHub:
https://github.com/basaratDonate:
https://www.paypal.me/basarataliContent Creation Kit (Camera / Lens etc.):
https://kit.co/basarat/content-creationJoin to support the channel:
https://www.youtube.com/c/BasaratAli/joinWebsite:
https://basarat.com/