Skip to main content
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@v6.3.0/index.ts";

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

Type Parameters

optional
P extends object = object