Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pup/plugins/web-interface/deps.ts>Router.url

Universal process manager built in Deno
Go to Latest
method Router.url
import { Router } from "https://deno.land/x/pup@1.0.0-alpha-29/plugins/web-interface/deps.ts";

Generate a URL pathname based on the provided path, interpolating the optional params provided. Also accepts an optional set of options.

Type Parameters

R extends string

Parameters

path: R
optional
params: RouteParams<R>
optional
options: UrlOptions

Returns

string