Browse Source

doc: add `added:` information for querystring

Module introduced in 7ff04c1f8.

Ref: https://github.com/nodejs/node/issues/6578
PR-URL: https://github.com/nodejs/node/pull/6593
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
process-exit-stdio-flushing
Bryan English 9 years ago
committed by Anna Henningsen
parent
commit
f773073338
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  1. 12
      doc/api/querystring.md

12
doc/api/querystring.md

@ -8,11 +8,17 @@ This module provides utilities for dealing with query strings.
It provides the following methods:
## querystring.escape
<!-- YAML
added: v0.1.25
-->
The escape function used by `querystring.stringify`,
provided so that it could be overridden if necessary.
## querystring.parse(str[, sep][, eq][, options])
<!-- YAML
added: v0.1.25
-->
Deserialize a query string to an object.
Optionally override the default separator (`'&'`) and assignment (`'='`)
@ -38,6 +44,9 @@ querystring.parse('w=%D6%D0%CE%C4&foo=bar', null, null,
```
## querystring.stringify(obj[, sep][, eq][, options])
<!-- YAML
added: v0.1.25
-->
Serialize an object to a query string.
Optionally override the default separator (`'&'`) and assignment (`'='`)
@ -63,6 +72,9 @@ querystring.stringify({ w: '中文', foo: 'bar' }, null, null,
```
## querystring.unescape
<!-- YAML
added: v0.1.25
-->
The unescape function used by `querystring.parse`,
provided so that it could be overridden if necessary.

Loading…
Cancel
Save