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
Go to Latest
function match
import { match } from "https://deno.land/x/path_to_regexp@v7.1.0/index.ts";

Create path match function from path-to-regexp spec.

Parameters

path: Path
optional
options: MatchOptions = [UNSUPPORTED]