Skip to content

Commit

Permalink
doc: add added: information for querystring
Browse files Browse the repository at this point in the history
Module introduced in 7ff04c1.

Ref: nodejs#6578
PR-URL: nodejs#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>
  • Loading branch information
bengl authored and addaleax committed Jul 12, 2016
1 parent 496cf8a commit 65c09f6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/api/querystring.md
Expand Up @@ -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 (`'='`)
Expand All @@ -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 (`'='`)
Expand All @@ -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.
Expand Down

0 comments on commit 65c09f6

Please sign in to comment.