Skip to content

Commit

Permalink
Merge branch 'main' of github.com:finom/next-smoothie-zod
Browse files Browse the repository at this point in the history
  • Loading branch information
finom committed Jan 5, 2024
2 parents 4b6b566 + 15f453d commit 42cb233
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<p align="middle">
<a href="https://github.com/finom/vovk"><img valign="middle" src="https://github.com/finom/vovk/assets/1082083/86bfbbbb-3600-435b-a74c-c07bd0c4af4b" height="150" /></a> &nbsp;&nbsp;<img valign="middle" alt="plus" src="https://github.com/finom/vovk-zod/assets/1082083/50a15051-51a8-4f9b-a251-e4376576f9e7" width="30" /> <a href="https://zod.dev/"><img valign="middle" src="https://github.com/finom/vovk-zod/assets/1082083/308ef538-43b5-4ea5-ab1e-a660b4e21b65" height="150" /></a> <img valign="middle" alt="plus" src="https://github.com/finom/vovk-zod/assets/1082083/50a15051-51a8-4f9b-a251-e4376576f9e7" width="30" /> <a href="https://ajv.js.org/"><img valign="middle" src="https://camo.githubusercontent.com/985f4bca44ac720873daf94ec77043eabb44c45b1f3e83555d2b180e7b46c6bc/68747470733a2f2f616a762e6a732e6f72672f696d672f616a762e737667" height="100" /></a>
<a href="https://github.com/finom/vovk"><img valign="middle" src="https://github.com/finom/vovk/assets/1082083/86bfbbbb-3600-435b-a74c-c07bd0c4af4b" height="150" /></a> &nbsp;&nbsp;<img valign="middle" alt="plus" src="https://github.com/finom/vovk-zod/assets/1082083/50a15051-51a8-4f9b-a251-e4376576f9e7" width="30" /> <a href="https://zod.dev/"><img valign="middle" src="https://github.com/finom/vovk-zod/assets/1082083/308ef538-43b5-4ea5-ab1e-a660b4e21b65" height="150" /></a> <img valign="middle" alt="plus" src="https://github.com/finom/vovk-zod/assets/1082083/50a15051-51a8-4f9b-a251-e4376576f9e7" width="30" /> <a href="https://ajv.js.org/"><img valign="middle" src="https://github.com/finom/vovk-zod/assets/1082083/0165a210-aba2-461a-ba02-37350f09cd23" height="100" /></a>
</p>
<h1 align="center">vovk-zod</h1>
<p align="center">Isomorphic [Zod](https://zod.dev/) validation for <a href="https://github.com/finom/vovk">Vovk.ts</a> controllers on server and client</p>
<p align="center">Isomorphic <a href="https://zod.dev/">Zod</a> validation for <a href="https://github.com/finom/vovk">Vovk.ts</a> controllers on server and client</p>
<p align="center">
<a href="https://badge.fury.io/js/vovk-zod">
<img src="https://badge.fury.io/js/vovk-zod.svg" alt="npm version" />
Expand All @@ -15,6 +15,8 @@
</a>
</p>



**vovk-zod** exports `vovkZod` decorator fabric that validates request body and incoming query string providing Zod models.

```ts
Expand Down Expand Up @@ -130,4 +132,4 @@ The library (as well as Vovk.ts itself) is built thanks to fantastic job made by
- `@vovkZod` performs Zod validation on server-side.
- When clientized controller method gets called `zodValidateOnClient` performs validation on client-side with [Ajv](https://ajv.js.org/).

Enjoy!
Enjoy!

0 comments on commit 42cb233

Please sign in to comment.