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

x/dynablox_opencloud/src/shims/urlpattern/path-to-regex-modified.ts>tokensToRegexp

A Roblox OpenCloud API wrapper for Deno and NodeJS written in TypeScript.
Latest
function tokensToRegexp
import { tokensToRegexp } from "https://deno.land/x/dynablox_opencloud@v0.2.2/src/shims/urlpattern/path-to-regex-modified.ts";

Expose a function for taking tokens and returning a RegExp.

Parameters

tokens: Token[]
optional
keys: Key[]
optional
options: TokensToRegexpOptions = [UNSUPPORTED]