-## URL
+# URL
This module has utilities for URL resolution and parsing.
Call `require('url')` to use it.
The following methods are provided by the URL module:
-### url.parse(urlStr, [parseQueryString], [slashesDenoteHost])
+## url.parse(urlStr, [parseQueryString], [slashesDenoteHost])
Take a URL string, and return an object.
`{ host: 'foo', pathname: '/bar' }` rather than
`{ pathname: '//foo/bar' }`. Defaults to `false`.
-### url.format(urlObj)
+## url.format(urlObj)
Take a parsed URL object, and return a formatted URL string.
* `search` is treated the same with or without the leading `?` (question mark)
* `hash` is treated the same with or without the leading `#` (pound sign, anchor)
-### url.resolve(from, to)
+## url.resolve(from, to)
Take a base URL, and a href URL, and resolve them as a browser would for an anchor tag.