Skip to main content
URLSearchParams.prototype.toString - url - Node documentation
method URLSearchParams.prototype.toString

Usage in Deno

import { URLSearchParams } from "node:url";
URLSearchParams.prototype.toString(): string

Returns the search parameters serialized as a string, with characters percent-encoded where necessary.

Return Type

string