qping
0.1.1 • Public • Published qping
Simple wrapper around native ping command using promises (Q).
Install
$ npm install qping
Example
ping = require('./ping');
ping.ping('8.8.8.8').then(function (data) {
"use strict";
console.log(data);
})
This example would write the following to the console if run from my network...
{ latency: 202, ttl: '43', status: true, host: '8.8.8.8' }
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.1.1
3
Version History
- VersionDownloads (Last 7 Days)
- 0.1.1
3
Package Sidebar
Install
Weekly Downloads