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

QueryParam

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

Decorator

Injects the value from the query parameters of a request.

@QueryParam(name?) Target: Method parameter

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

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