Module

x/oak/router.ts>Router#param

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
method Router.prototype.param
import { Router } from "https://dotland.deno.dev/x/oak@v17.1.2/router.ts";

Register param middleware, which will be called when the particular param is parsed from the route.

Type Parameters

R extends string
optional
S extends State = RS