From e3fdb1588c32d1ed8cbbcc375f806f8825b37c63 Mon Sep 17 00:00:00 2001 From: ZYSzys <17367077526@163.com> Date: Thu, 14 Feb 2019 19:35:11 +0800 Subject: [PATCH] doc: add decode & encode method into querystring.md --- doc/api/querystring.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/api/querystring.md b/doc/api/querystring.md index 60230d916b3243..8b8786ebc4cc1b 100644 --- a/doc/api/querystring.md +++ b/doc/api/querystring.md @@ -13,6 +13,20 @@ query strings. It can be accessed using: const querystring = require('querystring'); ``` +## querystring.decode() + + +The `querystring.decode()` function is an alias for `querystring.parse()`. + +## querystring.encode() + + +The `querystring.encode()` function is an alias for `querystring.stringify()`. + ## querystring.escape(str)