File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,9 @@ properties of URL objects:
80
80
The following methods are provided by the URL module:
81
81
82
82
## url.format(urlObj)
83
+ <!-- YAML
84
+ added: v0.1.25
85
+ -->
83
86
84
87
Take a parsed URL object, and return a formatted URL string.
85
88
@@ -106,6 +109,9 @@ Here's how the formatting process works:
106
109
* ` hash ` is treated the same with or without the leading ` # ` (pound sign, anchor).
107
110
108
111
## url.parse(urlStr[ , parseQueryString] [ , slashesDenoteHost ] )
112
+ <!-- YAML
113
+ added: v0.1.25
114
+ -->
109
115
110
116
Take a URL string, and return an object.
111
117
@@ -120,6 +126,9 @@ Pass `true` as the third argument to treat `//foo/bar` as
120
126
` { pathname: '//foo/bar' } ` . Defaults to ` false ` .
121
127
122
128
## url.resolve(from, to)
129
+ <!-- YAML
130
+ added: v0.1.25
131
+ -->
123
132
124
133
Take a base URL, and a href URL, and resolve them as a browser would for
125
134
an anchor tag. Examples:
You can’t perform that action at this time.
0 commit comments