Skip to content

Commit 1758f02

Browse files
benglMyles Borins
authored and
Myles Borins
committed
doc: add added: information for url
Module introduced in 7ff04c1. Ref: #6578 PR-URL: #6593 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Stephen Belanger <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 3c8f19f commit 1758f02

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/api/url.md

+9
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ properties of URL objects:
8080
The following methods are provided by the URL module:
8181

8282
## url.format(urlObj)
83+
<!-- YAML
84+
added: v0.1.25
85+
-->
8386

8487
Take a parsed URL object, and return a formatted URL string.
8588

@@ -106,6 +109,9 @@ Here's how the formatting process works:
106109
* `hash` is treated the same with or without the leading `#` (pound sign, anchor).
107110

108111
## url.parse(urlStr[, parseQueryString][, slashesDenoteHost])
112+
<!-- YAML
113+
added: v0.1.25
114+
-->
109115

110116
Take a URL string, and return an object.
111117

@@ -120,6 +126,9 @@ Pass `true` as the third argument to treat `//foo/bar` as
120126
`{ pathname: '//foo/bar' }`. Defaults to `false`.
121127

122128
## url.resolve(from, to)
129+
<!-- YAML
130+
added: v0.1.25
131+
-->
123132

124133
Take a base URL, and a href URL, and resolve them as a browser would for
125134
an anchor tag. Examples:

0 commit comments

Comments
 (0)