npm
npmjs.com › package › nestjs-zod
nestjs-zod - npm
May 15, 2026 - All NestJS + Zod utilities you need. Latest version: 5.5.0, last published: 2 days ago. Start using nestjs-zod in your project by running `npm i nestjs-zod`. There are 45 other projects in the npm registry using nestjs-zod.
» npm install nestjs-zod
Published Jul 25, 2026
Version 5.5.0
npm
npmjs.com › package › @proventuslabs › nestjs-zod
@proventuslabs/nestjs-zod - npm
October 15, 2025 - Create type-safe configurable modules with Zod validation: import { Module } from "@nestjs/common"; import { ZodConfigurableModuleBuilder } from "@proventuslabs/nestjs-zod"; import { z } from "zod"; const { ConfigurableModuleClass, MODULE_OPTIONS_TOKEN } = new ZodConfigurableModuleBuilder( z.object({ apiKey: z.string(), baseUrl: z.url().default("https://api.example.com"), timeout: z.number().default(5000), }), { warnOnly: true } // optional: log warnings instead of throwing on validation failure ).build(); @Module({ providers: [ { provide: "EXTERNAL_SERVICE", useFactory: (options) => new ExternalService(options), // fully typed inject: [MODULE_OPTIONS_TOKEN], }, ], }) export class ExternalServiceModule extends ConfigurableModuleClass {} // Usage ExternalServiceModule.register({ apiKey: "your-key", timeout: 10000, });
» npm install @proventuslabs/nestjs-zod
Published Feb 28, 2026
Version 2.1.0
npm
npmjs.com › package › @anatine › zod-nestjs
@anatine/zod-nestjs - npm
Zod helper methods for NestJS. Latest version: 2.0.12, last published: a year ago. Start using @anatine/zod-nestjs in your project by running `npm i @anatine/zod-nestjs`. There are 11 other projects in the npm registry using @anatine/zod-nestjs.
» npm install @anatine/zod-nestjs
Published Apr 05, 2025
Version 2.0.12
GitHub
github.com › BenLorantfy › nestjs-zod
GitHub - BenLorantfy/nestjs-zod: All NestJS + Zod utilities you need · GitHub
npx nestjs-zod-cli /path/to/ne... Alternatively, you can follow the manual setup steps below · Install the package: npm install nestjs-zod # Note: zod ^3.25.0 || ^4.0.0 is also required ·...
Starred by 1.1K users
Forked by 110 users
Languages TypeScript 87.2% | JavaScript 12.8%
npm
npmjs.com › package › @nest-zod › z
@nest-zod/z - npm
February 7, 2025 - Extended zod with a few additional types and helpers. Latest version: 2.0.0, last published: a year ago. Start using @nest-zod/z in your project by running `npm i @nest-zod/z`. There are 3 other projects in the npm registry using @nest-zod/z.
» npm install @nest-zod/z
Published Feb 07, 2025
Version 2.0.0
GitHub
github.com › wahyubucil › nestjs-zod-openapi
GitHub - wahyubucil/nestjs-zod-openapi: NestJS helper to easily use Zod with OpenAPI · GitHub
After set up is completed you can install this package and the Zod package: # NPM npm i zod @wahyubucil/nestjs-zod-openapi # Yarn yarn add zod @wahyubucil/nestjs-zod-openapi # PNPM pnpm add zod @wahyubucil/nestjs-zod-openapi
Starred by 22 users
Forked by 2 users
Languages TypeScript 93.6% | JavaScript 6.4%
npm
npmjs.com › package › @globalart › nestjs-zod
@globalart/nestjs-zod - npm
November 21, 2025 - Latest version: 1.0.0, last published: 4 months ago. Start using @globalart/nestjs-zod in your project by running `npm i @globalart/nestjs-zod`. There are 4 other projects in the npm registry using @globalart/nestjs-zod.
» npm install @globalart/nestjs-zod
Published Nov 21, 2025
Version 1.0.0
Author GlobalArt, Inc
npm
npmjs.com › package › nestjs-graphql-zod
nestjs-graphql-zod - npm
A library for integrating zod validation objects into nestjs graphql objects.. Latest version: 3.4.1, last published: 2 years ago. Start using nestjs-graphql-zod in your project by running `npm i nestjs-graphql-zod`. There are 1 other projects ...
» npm install nestjs-graphql-zod
Published May 21, 2024
Version 3.4.1
Author Tarık İnce
npm
npmjs.com › package › @palmetto › nestjs-zod-dto
@palmetto/nestjs-zod-dto - npm
March 4, 2026 - import { createDtoFromZodSchema, z } from "@palmetto/nestjs-zod-dto"; export const PaginationInputDtoSchema = z.object({ page: z.coerce.number().int().positive().optional().default(1), limit: z.coerce.number().int().min(1).max(20).optional().default(10), }); export class PaginationInputDto extends createDtoFromZodSchema( PaginationInputDtoSchema, { title: "PaginationInput", }, ) {}
» npm install @palmetto/nestjs-zod-dto
Published Jun 12, 2026
Version 2.3.0
GitHub
github.com › nestjs › nest › issues › 15988
Develop the @nestjs/zod package to simplify integration between Nest and Zod. · Issue #15988 · nestjs/nest
November 28, 2025 - In NestJS, input parameter validation is a crucial aspect. Currently, there are two approaches: one uses class-validator and class-transformer, but both packages are inactive, with no updates for over two years. The other approach is using zod, but it lacks integration with NestJS.
Author nestjs
GitHub
github.com › alxevvv › nest-zod-config
GitHub - alxevvv/nest-zod-config: Define NestJS configuration with validation and type safety using zod · GitHub
Define NestJS configuration with validation and type safety using zod · npm install zod nest-zod-config · If you want to load configuration from .env file, also install dotenv package: npm install dotenv · # .env port=3000 str=something ·
Author alxevvv
npm
npmjs.com › package › zod › v › 3.24.3
zod - npm
zod-to-openapi: Generate full OpenAPI (Swagger) docs from Zod, including schemas, endpoints & parameters. nestjs-graphql-zod: Generates NestJS GraphQL model classes from Zod schemas.
» npm install zod
Published May 04, 2026
Version 3.24.3
GitHub
github.com › anatine › zod-plugins › blob › main › packages › zod-nestjs › README.md
zod-plugins/packages/zod-nestjs/README.md at main · anatine/zod-plugins
Helper methods for using Zod in a NestJS project. ... @anatine/zod-openapi, openapi3-ts, and zod are peer dependencies instead of dependant packages. While zod is necessary for operation, openapi3-ts is for type-casting. @anatine/zod-openapi does the actual conversion · npm install openapi3-ts zod @anatine/zod-openapi @anatine/zod-nestjs
Author anatine
Medium
medium.com › @gildniy › how-i-built-a-type-safe-api-with-auto-generated-documentation-using-zod-nestjs-openapi-f91c2abd8f08
How I Built a Type-Safe API with Auto-Generated Documentation Using Zod + NestJS + OpenAPI (Complete Tutorial) | by Gildas Niyigena | Medium
June 1, 2025 - { "name": "my-awesome-api", "private": true, "workspaces": [ "apps/*", "packages/*" ], "scripts": { "build": "npm run build --workspaces", "dev": "npm run dev --workspace=apps/api", "lint": "npm run lint --workspaces" }, "dependencies": { "nestjs-zod": "^4.3.1", "zod": "^3.25.44" }, "devDependencies": { "typescript": "^5.1.3", "prettier": "^3.0.0" } }
npm
npmjs.com › package › @zodec › nest
@zodec/nest - npm
May 22, 2026 - Plug @zodec/core schemas directly into NestJS — one pipe, all groups, full validation. npm install @zodec/nest @zodec/core zod reflect-metadata
» npm install @zodec/nest
Published May 22, 2026
Version 0.2.1