Just a minimalistic nodeJS module for executing the Ping command
nodeJS = v0.12
$ npm install node-pingit
var pingit = require('node-pingit')
pingit.pingAsync('www.google.com', function(err, miliseconds){
console.log('Async ping: '+miliseconds);
});
var pingit = require('node-pingit')
var miliseconds = pingit.ping('www.google.com');
console.log('Sync ping: '+miliseconds);
$ npm test