Skip to main content
Module

x/urlcat/src/index.ts

A URL builder library for JavaScript.
Go to Latest
import * as urlcat from "https://deno.land/x/urlcat@v2.0.4/src/index.ts";

Functions

Builds a URL using the base template and specified parameters.

Joins two strings using a separator. If the separator occurs at the concatenation boundary in either of the strings, it is removed. This prevents accidental duplication of the separator.

Creates a query string from the specified object.

Substitutes :params in a template with property values of an object.