summaryrefslogtreecommitdiff
path: root/doc/api/querystring.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-02 04:44:32 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-04 12:30:36 +0300
commit237cbe10fb82ba6ec69b14193a4a970e184306e7 (patch)
tree8fbbac215e1f9afcac524404e766c4157d8da145 /doc/api/querystring.md
parentf7049a20068dc8a7e904b7cdd3d5b307b595dd3a (diff)
downloadandroid-node-v8-237cbe10fb82ba6ec69b14193a4a970e184306e7.tar.gz
android-node-v8-237cbe10fb82ba6ec69b14193a4a970e184306e7.tar.bz2
android-node-v8-237cbe10fb82ba6ec69b14193a4a970e184306e7.zip
doc,tools: formalize, unify, codify default values
PR-URL: https://github.com/nodejs/node/pull/19737 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/querystring.md')
-rw-r--r--doc/api/querystring.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/api/querystring.md b/doc/api/querystring.md
index cbf503af91..693bb0a8a4 100644
--- a/doc/api/querystring.md
+++ b/doc/api/querystring.md
@@ -46,15 +46,15 @@ changes:
* `str` {string} The URL query string to parse
* `sep` {string} The substring used to delimit key and value pairs in the
- query string. Defaults to `'&'`.
+ query string. **Default:** `'&'`.
* `eq` {string}. The substring used to delimit keys and values in the
- query string. Defaults to `'='`.
+ query string. **Default:** `'='`.
* `options` {Object}
* `decodeURIComponent` {Function} The function to use when decoding
- percent-encoded characters in the query string. Defaults to
+ percent-encoded characters in the query string. **Default:**
`querystring.unescape()`.
* `maxKeys` {number} Specifies the maximum number of keys to parse.
- Defaults to `1000`. Specify `0` to remove key counting limitations.
+ Specify `0` to remove key counting limitations. **Default:** `1000`.
The `querystring.parse()` method parses a URL query string (`str`) into a
collection of key and value pairs.
@@ -93,12 +93,12 @@ added: v0.1.25
* `obj` {Object} The object to serialize into a URL query string
* `sep` {string} The substring used to delimit key and value pairs in the
- query string. Defaults to `'&'`.
+ query string. **Default:** `'&'`.
* `eq` {string}. The substring used to delimit keys and values in the
- query string. Defaults to `'='`.
+ query string. **Default:** `'='`.
* `options`
* `encodeURIComponent` {Function} The function to use when converting
- URL-unsafe characters to percent-encoding in the query string. Defaults to
+ URL-unsafe characters to percent-encoding in the query string. **Default:**
`querystring.escape()`.
The `querystring.stringify()` method produces a URL query string from a