Test your internet connection speed and ping using speedtest.net from the CLI
MIT License
Check if servers are reachable
Wait for localhost to be ready from the command-line
Delay execution for a given amount of seconds
The Sindre Sorhus CLI
Test your download and upload speed using fast.com
Check if the internet connection is up