Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`
MIT License
Check if a string is a URL
Get the maximum permitted length of a path of a Unix domain socket
Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`
Convert RGB color to HEX
Prepend `<br>` to newlines in a string
Slugify a string
url.parse() with support for protocol-less URLs & IPs
Get your public IP address
Strip the authentication part of a URL
Pad stdout and stderr
Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths
Get the URL from a web shortcut file
Minify HTML
Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Parse/stringify contact info like `Sindre Sorhus <[email protected]> (sindresorhus.com)`