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@v6.2.1/index.ts";

Metadata about a key.

Properties

name: string | number
prefix: string
suffix: string
pattern: string
modifier: string