{"library":"zod-express","type":"library","category":null,"description":"zod-express is an Express.js middleware designed for robust request validation using Zod schemas. Currently at version 0.0.8, this package provides functions like `validateRequest` and `processRequest` to ensure incoming `req.body`, `req.query`, and `req.params` conform to predefined Zod schemas, offering compile-time type safety in TypeScript environments. It recently introduced support for asynchronous validators. `zod-express` is a fork of `zod-express-middleware`, aiming to provide a maintained solution for this use case. Its release cadence appears to be driven by new features or bug fixes, rather than a strict schedule, as indicated by the recent `0.0.8` release adding async validation. Key differentiators include its focus on strong typing with Zod and the flexibility to either just validate or validate and transform/process request data.","language":"javascript","status":"active","version":"0.0.8","tags":["javascript","express","zod","middleware","endpoint","validation","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install zod-express","imports":["import { validateRequest } from 'zod-express';","import { validateRequestAsync } from 'zod-express';","import { processRequest } from 'zod-express';","import { z } from 'zod';"]},{"cmd":"yarn add zod-express","imports":[]},{"cmd":"pnpm add zod-express","imports":[]}],"homepage":null,"github":"https://github.com/pshaddel/zod-express","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/zod-express","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/zod-express/compatibility"}}