Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add reference to querystring
  • Loading branch information
TimothyGu committed Feb 15, 2017
commit 424ec4fd9bf65275b6c990b8cf755c144e433357
7 changes: 6 additions & 1 deletion doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -660,10 +660,15 @@ to customize the serialization process of the URL. For more flexibility,

### Class: URLSearchParams

The `URLSearchParams` object provides read and write access to the query of a
The `URLSearchParams` API provides read and write access to the query of a
`URL`. The `URLSearchParams` class can also be used standalone with one of the
four following constructors.

The WHATWG `URLSearchParams` interface and the [`querystring`][] module have
similar purpose, but the purpose of the [`querystring`][] module is more
general, as it allows the customization of delimiter characters (`&` and `=`).
On the other hand, this API is designed purely for URL query strings.

```js
const { URL, URLSearchParams } = require('url');

Expand Down