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

x/deno_nest/src/decorators/method.ts>Params

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

Get params by router

Examples

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

Parameters

optional
key: string