An open API service indexing awesome lists of open source software.

https://github.com/corylr/zod-review

A review and showcase of Zod, the TypeScript-first schema and validation library.
https://github.com/corylr/zod-review

Last synced: 9 months ago
JSON representation

A review and showcase of Zod, the TypeScript-first schema and validation library.

Awesome Lists containing this project

README

          

# Package Review: Zod

A review and showcase of Zod, the TypeScript-first schema declaration and validation library.

* Install with `npm install zod`
* Documentation: [zod.dev](https://zod.dev)

## Overview of Zod

## Options and Configurations

I like the Options Object pattern when I want to enable others to configure the default behavior or settings of something, such as a function or class. Zod makes this easy by allowing you to define options and all of their default values using an Object Schema.

## Running Code Examples

* Ensure you have NPM installed
* Run $ `npm install`
* Run $ `npx ts-node zod-example-params-options-configs.ts`
* Swap out the filename for your desired example