doc: mark querystring api as legacy

Signed-off-by: James M Snell <jasnell@gmail.com>
Fixes: https://github.com/nodejs/node/issues/38231

PR-URL: https://github.com/nodejs/node/pull/38436
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
James M Snell 2021-04-27 08:02:39 -07:00 committed by Filip Skokan
parent c791019b36
commit 32ade6997b
1 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<!--introduced_in=v0.1.25-->
> Stability: 2 - Stable
> Stability: 3 - Legacy
<!--name=querystring-->
@ -15,6 +15,9 @@ query strings. It can be accessed using:
const querystring = require('querystring');
```
The `querystring` API is considered Legacy. While it is still maintained,
new code should use the {URLSearchParams} API instead.
## `querystring.decode()`
<!-- YAML
added: v0.1.99