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

x/fresh/server.ts>PluginMiddleware

The next-gen web framework.
Extremely Popular
Go to Latest
interface PluginMiddleware
import { type PluginMiddleware } from "https://deno.land/x/fresh@1.6.3/server.ts";

Type Parameters

optional
State = Record<string, unknown>

Properties

path: string

A path in the format of a filename path without filetype

middleware: Middleware<State>