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

x/hono/middleware/serve-static/index.ts

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
import * as hono from "https://deno.land/x/hono@v4.1.3/middleware/serve-static/index.ts";

Variables

This middleware is not directly used by the user. Create a wrapper specifying getContent() by the environment such as Deno or Bun.