Module

std/node/querystring.ts>parse

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

Parses a URL query string into a collection of key and value pairs.

Parameters

str: string

The URL query string to parse

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: ParseOptions = [UNSUPPORTED]

The parse options

Returns

ParsedUrlQuery