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

x/oak_nest/src/decorators/mod.ts>Params

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
function Params
import { Params } from "https://deno.land/x/oak_nest@v3.0.1/src/decorators/mod.ts";

Get params by router

Examples

such as http://localhost:1000/api/role/info/114, then params is {id: 114}

Parameters

optional
key: string