From fa2e9875489d9f835524370e4e949633ee4c68d5 Mon Sep 17 00:00:00 2001 From: Bryan English Date: Wed, 4 May 2016 22:52:42 -0700 Subject: [PATCH] doc: add `added:` information for url Module introduced in 7ff04c1f8. Ref: https://github.com/nodejs/node/issues/6578 PR-URL: https://github.com/nodejs/node/pull/6593 Reviewed-By: Ben Noordhuis Reviewed-By: James M Snell Reviewed-By: Stephen Belanger Reviewed-By: Anna Henningsen --- doc/api/url.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/api/url.md b/doc/api/url.md index ab29c500d80335..f8c2980bd568bc 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -80,6 +80,9 @@ properties of URL objects: The following methods are provided by the URL module: ## url.format(urlObj) + Take a parsed URL object, and return a formatted URL string. @@ -106,6 +109,9 @@ Here's how the formatting process works: * `hash` is treated the same with or without the leading `#` (pound sign, anchor). ## url.parse(urlStr[, parseQueryString][, slashesDenoteHost]) + Take a URL string, and return an object. @@ -120,6 +126,9 @@ Pass `true` as the third argument to treat `//foo/bar` as `{ pathname: '//foo/bar' }`. Defaults to `false`. ## url.resolve(from, to) + Take a base URL, and a href URL, and resolve them as a browser would for an anchor tag. Examples: