Skip to content

Commit

Permalink
Add reference to querystring
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyGu committed Feb 15, 2017
1 parent e55746b commit 424ec4f
Showing 1 changed file with 6 additions and 1 deletion.
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

0 comments on commit 424ec4f

Please sign in to comment.