Skip to main content
Module

x/path_to_regexp/index.ts>Path

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

Supported path-to-regexp input types.

definition: string | RegExp | Array<string | RegExp>