x/oak/deps.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
interface TokensToRegexpOptions
import { type TokensToRegexpOptions } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/deps.ts?s=TokensToRegexpOptions";

Properties

optional
sensitive: boolean
[src]

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

optional
strict: boolean
[src]

When true the regexp won't allow an optional trailing delimiter to match. (default: false)

optional
end: boolean
[src]

When true the regexp will match to the end of the string. (default: true)

optional
start: boolean
[src]

When true the regexp will match from the beginning of the string. (default: true)

optional
delimiter: string
[src]

Sets the final character for non-ending optimistic matches. (default: /)

optional
endsWith: string
[src]

List of characters that can also be "end" characters.

optional
encode: (value: string) => string
[src]

Encode path tokens for use in the RegExp.