import * as pathToRegexp from "https://deno.land/x/path_to_regexp@v8.0.0/index.ts";
Functions
Compile a string to a template function for the path. | |
Parse a string for the raw tokens. |
Interfaces
A set of possible tokens to expand when matching. | |
A match result contains data about the path match. | |
A parameter designed to match arbitrary text within a segment. | |
I Text | Plain text. |
A wildcard parameter designed to match multiple segments. |
Type Aliases
Decode a string into another string. | |
Encode a string into another string. | |
A match is either | |
The match function takes a string and returns whether it matched the path. | |
T Path | |
A sequence of path match characters. |