Check if a string is a URL
MIT License
Get all urls in a string
Check if a string is an IP address
Check if a URL is absolute
url.parse() with support for protocol-less URLs & IPs
Check if a value is a Blob
Humanize a URL: https://sindresorhus.com → sindresorhus.com
Get superb like words
Check whether a website is up or down
Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths
Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`
Linkify URLs in a string
Check if a URL is relative
Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Check if something is a generator function
Check if a string is HTML