total-typescript/zod-tutorial
关于
Zod 速成入门——一个用于 TypeScript 的模式验证库
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Zod Tutorial
This Zod tutorial will give you everything you ever needed to know about Zod - an amazing library for building type-safe AND runtime-safe applications.
# Installs all dependencies
npm install
# Asks you which exercise you'd like to run, and runs it
npm run exercise
How to take the course
You'll notice that the course is split into exercises. Each exercise is split into a *.problem and a *.solution.
To take an exercise:
- Run
npm run exercise - Choose which exercise you'd like to run.
This course encourages active, exploratory learning. In the video, I'll explain a problem, and you'll be asked to try to find a solution. To attempt a solution, you'll need to:
- Check out Zod's docs.
- Try to find something that looks relevant.
- Give it a go to see if it solves the problem.
You'll know if you've succeeded because the tests will pass.
If you succeed, or if you get stuck, unpause the video and check out the *.solution. You can see if your solution is better or worse than mine!
Acknowledgements
Say thanks to Matt on Twitter or by joining his Discord. Consider signing up to his Total TypeScript course.
Reference
npm run exercise
Alias: npm run e
Open a prompt for choosing which exercise you'd like to run.
探索相关项目
加载中…
Watch on TotalTypeScript.com