Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anatine/zod-plugins
Plugins and utilities for Zod
https://github.com/anatine/zod-plugins
Last synced: 11 days ago
JSON representation
Plugins and utilities for Zod
- Host: GitHub
- URL: https://github.com/anatine/zod-plugins
- Owner: anatine
- Created: 2021-07-11T18:58:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-24T07:28:31.000Z (6 months ago)
- Last Synced: 2024-05-29T19:00:31.392Z (5 months ago)
- Language: TypeScript
- Size: 2.53 MB
- Stars: 575
- Watchers: 7
- Forks: 86
- Open Issues: 51
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - anatine/zod-plugins - Plugins and utilities for Zod (TypeScript)
- awesome-faker - zod-plugins - Plugins and utilities for Zod. (Projects using `@faker-js/faker`)
README
# @anatine/zod-plugins
Various modules to help leverage zod in all sort so places
## Packages within this repository
- ### [@anatine/zod-openapi](./packages/zod-openapi/README.md)
- Converts a Zod schema into an OpenAPI 3.0 `SchemaObject`
- Leverages [openapi3-ts](https://www.npmjs.com/package/openapi3-ts) for typings and builders- ### [@anatine/zod-mock](./packages/zod-mock/README.md)
- Generates a mock object for testing.
- Fake data generated from the peer dependency [faker.js](https://www.npmjs.com/package/faker)- ### [@anatine/zod-nestjs](./packages/zod-nestjs/README.md)
- Helper tooling to use Zod in [NestJS](https://nestjs.com/).
- Patch for [@nestjs/swagger](https://docs.nestjs.com/openapi/introduction) to use `@anatine/zod-openapi` to display schemas.- ### [@anatine/graphql-zod-validation](./packages/graphql-zod-validation/README.md)
- Used with [GraphQL code generator](https://github.com/dotansimha/graphql-code-generator) plugin to generate form validation schema from your GraphQL schema.
- ### [@anatine/graphql-codegen-zod](./packages/graphql-codegen-zod/README.md)
- Used with [GraphQL code generator](https://github.com/dotansimha/graphql-code-generator) plugin to generate form validation schema from your GraphQL schema.
- Alternative codebase to [@anatine/graphql-zod-validation](./packages/graphql-zod-validation/README.md)----
This is a monorepo project utilizing the tooling [Nx](https://nx.dev).