summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-02-27 11:09:34 -0800
committerisaacs <i@izs.me>2012-02-29 16:04:53 -0800
commit798f8a0dc1041e18ef2d4f265e807e6fc66fe8ff (patch)
tree284fa70d91ae140b7ba9dcacac712da491850025 /doc
parente083720d548337b074b536c447ec81f81b743c97 (diff)
downloadnode-798f8a0dc1041e18ef2d4f265e807e6fc66fe8ff.tar.gz
doc refactor: querystring
Diffstat (limited to 'doc')
-rw-r--r--doc/api/querystring.markdown12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/api/querystring.markdown b/doc/api/querystring.markdown
index 25741804d..4629550d7 100644
--- a/doc/api/querystring.markdown
+++ b/doc/api/querystring.markdown
@@ -1,9 +1,11 @@
-## Query String
+# Query String
+
+<!--name=querystring-->
This module provides utilities for dealing with query strings.
It provides the following methods:
-### querystring.stringify(obj, [sep], [eq])
+## querystring.stringify(obj, [sep], [eq])
Serialize an object to a query string.
Optionally override the default separator (`'&'`) and assignment (`'='`)
@@ -19,7 +21,7 @@ Example:
// returns
'foo:bar;baz:qux'
-### querystring.parse(str, [sep], [eq])
+## querystring.parse(str, [sep], [eq])
Deserialize a query string to an object.
Optionally override the default separator (`'&'`) and assignment (`'='`)
@@ -31,12 +33,12 @@ Example:
// returns
{ foo: 'bar', baz: ['qux', 'quux'], corge: '' }
-### querystring.escape
+## querystring.escape
The escape function used by `querystring.stringify`,
provided so that it could be overridden if necessary.
-### querystring.unescape
+## querystring.unescape
The unescape function used by `querystring.parse`,
provided so that it could be overridden if necessary.