Our great sponsors
- InfluxDB - Access the most powerful time series database as a service
- SonarQube - Static code analysis for 29 languages.
- CodiumAI - TestGPT | Generating meaningful tests for busy devs
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
|2 months ago||5 days ago|
|MIT License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
GitHub - ernestoittig/xod: Parsing and schema validation library for Elixir
2 projects | reddit.com/r/elixir | 18 Mar 2023
Using Zod with FormKit
2 projects | dev.to | 18 May 2023
By leveraging Zod for your form validation you are able to use the same type-definitions to validate your application’s data on the front-end and the back-end — saving you time and reducing the opportunities for malformed data to find its way into your database.
Sveltekit Auth Starter Project with Lucia auth, Skeleton UI, Prisma, Zod and Super Forms.
5 projects | reddit.com/r/sveltejs | 14 May 2023
The Typescript ecosystem is exhausting
3 projects | reddit.com/r/typescript | 14 May 2023
This is easily solved using Zod. Zod is a literal godsend, and TypeScript is what makes it so useful. Parsing JSON with pure JS is very type-dangerous, while with Zod & TS it becomes very type-safe.
5 projects | reddit.com/r/programming | 12 May 2023
TypeScript doesn't perform runtime type checking, for that you'd want to use something like zod
The Backend-for-Front pattern using NextJS: A Step-by-Step Guide
2 projects | dev.to | 10 May 2023
Note how we’re using Zod as a built-in JSON schema validation tool.
How can we map data from JSON to typescript object efficiently?
4 projects | reddit.com/r/reactjs | 30 Apr 2023
I think you're looking for a json schema validator like Ajv or Zod.
How to get started with the TERN stack
7 projects | dev.to | 27 Apr 2023
src/utils/validateInput.ts: an Express.js middleware wrapper that makes use of zod to validate request body payloads to the API endpoints.
5 projects | reddit.com/r/functionalprogramming | 27 Apr 2023
I use zod to ensure that the typing can be trusted and derive my types from it. Finally, I generate test data using zod-mock. It works great.
SPARTAN. Type-safe Angular full-stack development powered by Analog.
16 projects | dev.to | 25 Apr 2023
On the server, you create a tRPC API by defining your procedures. Procedures are the composable functions used to build your backend. They're composable and can be queries, mutations, or subscriptions. Routers contain multiple procedures. Often, we use a the popular Zod validator library to ensure the input from the client has exactly the shape that our procedure expects. Finally, we always export the type of our API's tRPC router so we can use it in our frontend code.
Why I use Typescript nominal types [3via series part 3]
3 projects | dev.to | 18 Apr 2023
In combination with the awesome zod library we created a special constructor for strings with fixed length. It can be used both on the back end for incoming requests validation, but also on the front end for forms validation.
What are some alternatives?
joi - The most powerful data validation library for JS [Moved to: https://github.com/sideway/joi]
class-validator - Decorator-based property validation for classes.
Yup - Dead simple Object schema validation
typebox - JSON Schema Type Builder with Static Type Resolution for TypeScript
ajv - The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
io-ts - Runtime type system for IO decoding/encoding
runtypes - Runtime validation for static types
class-transformer - Decorator-based transformation, serialization, and deserialization between objects and classes.
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)
zod-to-json-schema - Converts Zod schemas to Json schemas