Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hono/middleware/cors/index.ts>cors

Lightweight, Ultrafast, Web Standards
Very Popular
Go to Latest
variable cors
import { cors } from "https://deno.land/x/hono@v3.7.1/middleware/cors/index.ts";

type

(options?: CORSOptions) => MiddlewareHandler