Skip to main content
Go to Latest
interface TokensToFunctionOptions
import { type TokensToFunctionOptions } from "https://deno.land/x/frugal@0.2.1/dep/path-to-regexp.ts";

Properties

optional
sensitive: boolean

When true the regexp will be case sensitive. (default: false)

optional
encode: (value: string, token: Key) => string

Function for encoding input strings for output.

optional
validate: boolean

When false the function can produce an invalid (unmatched) path. (default: true)