Module

std/node/querystring.ts>stringify

Deno standard library
Go to Latest
function stringify
import { stringify } from "https://dotland.deno.dev/std@0.92.0/node/querystring.ts";

Produces a URL query string from a given obj by iterating through the object's "own properties".

Parameters

obj: Record<string, any>

The object to serialize into a URL query string.

optional
sep = [UNSUPPORTED]

The substring used to delimit key and value pairs in the query string. Default: '&'.

optional
eq = [UNSUPPORTED]

The substring used to delimit keys and values in the query string. Default: '='.

optional
unnamed 3: StringifyOptions = [UNSUPPORTED]

The stringify options

Returns

string