A simple package for sending ICMP pings to hosts.
No npm dependancy
It uses the ping executables on windows, mac or linux.
Server side only:
var hostname = 'my.example.org';
var ip = '10.0.0.1';
Ping.host(hostname);
Ping.host(ip, 5);
To ping multiple IP:
var iplist = ["10.0.0.2", "10.0.0.2", "10.0.0.3"];
Ping.range(iplist, 2);
This package was inspired by
and