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

x/path_to_regexp/index.ts>MatchResult

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

A match result contains data about the path match.

Properties

path: string
params: P