Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hono/middleware.ts

Web Framework built on Web Standards
Extremely Popular
Go to Latest
import * as hono from "https://deno.land/x/hono@v4.2.6/middleware.ts";

Variables

Append a trailing slash to the URL if it doesn't have one. For example, /path/to/page will be redirected to /path/to/page/.

Body Limit Middleware

Method Override Middleware

Trim the trailing slash from the URL if it does have one. For example, /path/to/page/ will be redirected to /path/to/page.