diff --git a/doc/api/querystring.md b/doc/api/querystring.md index a3db3c13a80a3d..752d4b9d584242 100644 --- a/doc/api/querystring.md +++ b/doc/api/querystring.md @@ -2,7 +2,7 @@ -> Stability: 3 - Legacy +> Stability: 2 - Stable @@ -15,8 +15,9 @@ query strings. It can be accessed using: const querystring = require('node:querystring'); ``` -The `querystring` API is considered Legacy. While it is still maintained, -new code should use the {URLSearchParams} API instead. +`querystring` is more performant than {URLSearchParams} but is not a +standardized API. Use {URLSearchParams} when performance is not critical or +when compatibility with browser code is desirable. ## `querystring.decode()`