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

x/path_to_regexp/index.ts>TokenData

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

Tokenized path instance. Can we passed around instead of string.

Constructors

new
TokenData(tokens: Token[], delimiter: string)