Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RouteParam

import { RouteParam } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.ts";

Decorator

Injects the value from a request that has a route param.

@RouteParam(name?) Target: Method parameter

name should be equal to the route param key, ex. /user/:id => @RouteParam('id') If name is ignored, it will take the parameter's name as the value

const RouteParam: (name?: string) => Function;