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' }

Readme

Keywords

none

Package Sidebar

Install

npm i qping

Weekly Downloads

0

Version

0.1.1

License

none

Last publish

Collaborators

  • timhaak