A tiny JavaScript utility that reliably checks whether the internet connection is up in Node and browsers.