Share your code.
strip a url to the host and ping
$ npm install -g sping
For when you copy an address from the browser and it's got all the gubbins.
$ sping http://github.com/bencevans/sping PING github.com (220.127.116.11) 56(84) bytes of data. 64 bytes from 18.104.22.168 (22.214.171.124): icmp_seq=1 ttl=47 time=126 ms 64 bytes from 126.96.36.199 (188.8.131.52): icmp_seq=2 ttl=47 time=129 ms ^C --- github.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 126.802/127.963/129.124/1.161 ms
MIT © Ben Evans 2016