Skip to main content
Module

x/path_to_regexp/index.ts>Token

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

A token is a string (nothing special) or key metadata (capture group).

definition: string | Key