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

x/path_to_regexp/index.ts>Encode

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

Encode a string into another string.

definition: (value: string) => string