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

x/deno_nest/src/interfaces/route.interface.ts>RouterOptions

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
interface RouterOptions
import { type RouterOptions } from "https://deno.land/x/deno_nest@v3.15.1/src/interfaces/route.interface.ts";

Properties

optional
strict: boolean

Determines if routes are matched strictly, where the trailing / is not optional. Defaults to false.

optional
keys: string[]

An initial set of keys to be used for signing cookies produced by the application.