Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/hono/middleware/validator/middleware.ts>validatorMiddleware

Ultrafast web framework for Cloudflare Workers, Deno, and Bun. Fast, but not only fast.
Very Popular
Go to Latest
variable validatorMiddleware
import { validatorMiddleware } from "https://deno.land/x/hono@v2.2.0/middleware/validator/middleware.ts";

type

<T extends Schema>(validationFunction: ValidationFunction<T>, options?: { done?: Done; }) => unknown