| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a870cdc commit eec0c63
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,11 +8,17 @@ This module provides utilities for dealing with query strings. | |||
| 8 | 8 | It provides the following methods: | |
| 9 | 9 | ||
| 10 | 10 | ## querystring.escape | |
| 11 | + <!-- YAML | ||
| 12 | + added: v0.1.25 | ||
| 13 | + --> | ||
| 11 | 14 | ||
| 12 | 15 | The escape function used by `querystring.stringify`, | |
| 13 | 16 | provided so that it could be overridden if necessary. | |
| 14 | 17 | ||
| 15 | 18 | ## querystring.parse(str[, sep][, eq][, options]) | |
| 19 | + <!-- YAML | ||
| 20 | + added: v0.1.25 | ||
| 21 | + --> | ||
| 16 | 22 | ||
| 17 | 23 | Deserialize a query string to an object. | |
| 18 | 24 | Optionally override the default separator (`'&'`) and assignment (`'='`) | |
@@ -38,6 +44,9 @@ querystring.parse('w=%D6%D0%CE%C4&foo=bar', null, null, | |||
| 38 | 44 | ``` | |
| 39 | 45 | ||
| 40 | 46 | ## querystring.stringify(obj[, sep][, eq][, options]) | |
| 47 | + <!-- YAML | ||
| 48 | + added: v0.1.25 | ||
| 49 | + --> | ||
| 41 | 50 | ||
| 42 | 51 | Serialize an object to a query string. | |
| 43 | 52 | Optionally override the default separator (`'&'`) and assignment (`'='`) | |
@@ -63,6 +72,9 @@ querystring.stringify({ w: '中文', foo: 'bar' }, null, null, | |||
| 63 | 72 | ``` | |
| 64 | 73 | ||
| 65 | 74 | ## querystring.unescape | |
| 75 | + <!-- YAML | ||
| 76 | + added: v0.1.25 | ||
| 77 | + --> | ||
| 66 | 78 | ||
| 67 | 79 | The unescape function used by `querystring.parse`, | |
| 68 | 80 | provided so that it could be overridden if necessary. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments