Skip to main content
Module

x/reno/reno/mod.ts>Router

A thin, testable routing library designed to sit on top of Deno's standard HTTP module
Go to Latest
type alias Router
import { type Router } from "https://deno.land/x/reno@v2.0.75/reno/mod.ts";

The router function returned by createRouter that is intended to be invoked when a HTTP server receives a request.

definition: (req: Request) => AugmentedResponse | Promise<AugmentedResponse>