Skip to content

sahilrajput03/learn-zod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docs

Types Learned

z.string()
z.number()
z.array()
z.null()
z.string().datetime(),
z.string().regex(SIMPLE_MONGODB_ID_REGEX),
// Making anything optional
z.string().datetime().optional(),

Initial Setup

npm install zod
npm i -D typescript ts-node ts-node-dev
npx tsc --init

npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published