Giter VIP home page Giter VIP logo

awesome-zod's Introduction

Awesome Zod Awesome

Contents

About this List

This is a collection of awesome resources about Zod

Zod is a TypeScript-first schema declaration and validation library. It is designed to be as developer-friendly as possible. The goal is to eliminate duplicate type declarations. With Zod, you declare a validator once and Zod will automatically infer the static TypeScript type. It's easy to compose simpler types into complex data structures.

Docs

APIs and Servers

  • tRPC - Build end-to-end type-safe APIs without GraphQL.
  • express-zod-api - Build Express-based APIs with I/O schema validation and custom middlewares.
  • zod-endpoints - Contract-first strictly typed endpoints with Zod. OpenAPI compatible.
  • @anatine/zod-nestjs - Helper methods for using Zod in a NestJS project.
  • fastify-type-provider-zod - Create Fastify type providers from Zod schemas.
  • zod-http-schemas - Uses zod to define well typed API, generate a router that enforces and validates the api at runtime, & generate a well-typed client.
  • fastify-zod - Zod integration with Fastify.
  • zod-json-rpc - Lets you rapidly build typesafe JSON-RPC servers and clients in TypeScript. Not only that, it is self-describing via its advanced introspection API, which can output JSON Schema or source code in multiple languages.
  • zod-express-middleware - Middleware for express that uses zod to make requests type-safe.
  • ts-rest - RPC-like client, contract, and server implementation for a pure REST API.
  • zodios - A typescript api client with auto-completion features backed by axios and zod.
  • @lambda-func/zod - A middleware to use zod for type parsing.
  • zod-express-guard - Small package intended to use zod to make express request type-safe.

Convertors and Generators

CLIs

  • soly - Create CLI applications with zod.

Other

  • zod-match - Adds a resultify method to ZodTypes so you can match Without Exceptions™️!.
  • zod-joda - JS-Joda integration for Zod validation library.
  • zod-localstorage - A Typescript library to allow typesafe access to localstorage using schema validation from Zod.
  • zod-formik-adapter - Formik adapter for Zod.
  • @felte/validator-zod - Handle validation with Zod in Felte.

Projects Using Zod

  • prisma-trpc-generator - Prisma 2+ generator to emit fully implemented tRPC routers.
  • @danprince/zhttp - A small library that brings zod, express, and static-path together to create type safe HTTP endpoints for clients and servers.
  • @renke/vod - Immutable, type-safe, validated, nominal value objects in TypeScript based on @renke/vo and zod.
  • react-zorm - Type-safe for React using Zod!.
  • daruk - A Node.js web framework based on typescript.
  • shrub - A framework for building modular Node.js apps and front-end components.
  • react-hook-form - React Hooks for form state management and validation (Web + React Native).

Tutorials

Tutorials with tRPC

Contribute

Contributions welcome! Read the contribution guidelines first.

awesome-zod's People

Contributors

omar-dulaimi avatar knthmn avatar kristiandupont avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.