2.0.0 • Published 5 years ago

kedi-ping v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

kedinetwork-ping

That's a node js module that checks a tcp server if it's online or offline. It's using by kedinetwork

Installation

npm install kedi-ping

Usage

    const ping = require('./index.js');

    ping('127.0.0.1',3600).then(function(data){
        //Server is online
        console.log(data);
    }).catch(function(err){
        //Server is offline
        console.log(err);
    });

License

MIT

2.0.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago