marilari88 / zod-playground

Play with Zod schema validation
https://zod-playground.vercel.app
MIT License
31 stars 1 forks source link
playground sandbox typescript validation zod





[https://zod-playground.vercel.app/](https://zod-playground.vercel.app/)


Zod Playground

Zod Playground is a web app that allows users to interact with the Zod library API. Users can define schemas and test the validation of given values. The app is designed to be user-friendly and easy to use. It is a great tool for developers who are working with the Zod API and want to test their code on the fly without having to set up Zod locally.

Use cases

Features

Contribute

If you would like to contribute to Zod Playground, fork the repository and submit a pull request. If you notice a bug or want to request a feature, feel free to open an issue. Any kind of contribution is welcome.

Run locally

To get started with Zod Playground development, you will need to have node.js and npm installed.

git clone https://github.com/marilari88/zod-playground.git
cd zod-playground

npm i       # Install dependencies
npm run dev # Start the development server

Test

Zod playground uses Playwright to run E2E tests. To run tests locally, execute the following commands:

npm test:init
npm test

License

This project is licensed under the MIT License.