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

x/oak/mod.ts>Router#param

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
method Router.prototype.param
import { Router } from "https://deno.land/x/oak@v12.6.0/mod.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