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

x/path_to_regexp/index.ts>MatchOptions

Turn a path string such as `/user/:name` into a regular expression
Go to Latest
interface MatchOptions
import { type MatchOptions } from "https://deno.land/x/path_to_regexp@v7.1.0/index.ts";

Properties

optional
decode: Decode | false

Function for decoding strings for params, or false to disable entirely. (default: decodeURIComponent)