Skip to main content
Module

x/path_to_regexp/index.ts>Key

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

A key is a capture group in the regex.

Properties

name: string
optional
prefix: string
optional
suffix: string
optional
pattern: string
optional
modifier: string
optional
separator: string