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

x/path_to_regexp/index.ts>match

Turn a path string such as `/user/:name` into a regular expression
Latest
function match
import { match } from "https://deno.land/x/path_to_regexp@v8.2.0/index.ts";

Transform a path into a match function.

Parameters

path: Path | Path[]
optional
options: MatchOptions & ParseOptions = [UNSUPPORTED]