• Home
  • Raw
  • Download

Lines Matching refs:querystring

7 <!--name=querystring-->
9 <!-- source_link=lib/querystring.js -->
11 The `querystring` module provides utilities for parsing and formatting URL
15 const querystring = require('querystring');
18 The `querystring` API is considered Legacy. While it is still maintained,
21 ## `querystring.decode()`
26 The `querystring.decode()` function is an alias for `querystring.parse()`.
28 ## `querystring.encode()`
33 The `querystring.encode()` function is an alias for `querystring.stringify()`.
35 ## `querystring.escape(str)`
42 The `querystring.escape()` method performs URL percent-encoding on the given
46 The `querystring.escape()` method is used by `querystring.stringify()` and is
49 necessary by assigning `querystring.escape` to an alternative function.
51 ## `querystring.parse(str[, sep[, eq[, options]]])`
76 `querystring.unescape()`.
80 The `querystring.parse()` method parses a URL query string (`str`) into a
93 The object returned by the `querystring.parse()` method _does not_
105 querystring.parse('w=%D6%D0%CE%C4&foo=bar', null, null,
109 ## `querystring.stringify(obj[, sep[, eq[, options]]])`
122 `querystring.escape()`.
124 The `querystring.stringify()` method produces a URL query string from a
133 querystring.stringify({ foo: 'bar', baz: ['qux', 'quux'], corge: '' });
136 querystring.stringify({ foo: 'bar', baz: 'qux' }, ';', ':');
147 querystring.stringify({ w: '中文', foo: 'bar' }, null, null,
151 ## `querystring.unescape(str)`
158 The `querystring.unescape()` method performs decoding of URL percent-encoded
161 The `querystring.unescape()` method is used by `querystring.parse()` and is
164 necessary by assigning `querystring.unescape` to an alternative function.
166 By default, the `querystring.unescape()` method will attempt to use the