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

CookieParam

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

Decorator

Injects a cookie from a request

@CookieParam(name) Target: Method parameter

name should be equal to the cookie's name that is wanted. If ignored, the parameter's name will be taken as the cookie's name

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