Check if a number is a redirect HTTP status code
MIT License
Check if a path exists
Check if something is a generator function
Check if a URL is absolute
Check if your code is running as an npm or yarn script
Node.js `http.STATUS_CODES` ponyfill
Check if servers are reachable
Check if a URL is relative
Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`
url.parse() with support for protocol-less URLs & IPs
Check if a path is in the current working directory
Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev
Check if a string is a URL
Check if something is a promise
Check if the internet connection is up
Check whether a request can be retried based on the `error.code`