Skip to content

Commit

Permalink
doc: add decode() & encode() methods into querystring.md
Browse files Browse the repository at this point in the history
PR-URL: #23889
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
ZYSzys authored and vsemozhetbyt committed Mar 10, 2019
1 parent cba2c7a commit fb54968
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/api/querystring.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ query strings. It can be accessed using:
const querystring = require('querystring');
```

## querystring.decode()
<!-- YAML
added: v0.1.99
-->

The `querystring.decode()` function is an alias for `querystring.parse()`.

## querystring.encode()
<!-- YAML
added: v0.1.99
-->

The `querystring.encode()` function is an alias for `querystring.stringify()`.

## querystring.escape(str)
<!-- YAML
added: v0.1.25
Expand Down

0 comments on commit fb54968

Please sign in to comment.