2.1.2 • Published 9 years ago

monitorjs v2.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
9 years ago

#Monitor serivces

How to use it?

Install

npm install health-monitor-service --save

or install global

npm install health-monitor-service -g

Use with lib

const Service = require('health-monitor-service').service;
let cfg = {host:"localhost",port:22};
let promise = Service.ssh(cfg);
promise.then((data)=>{
    //dosomething right
},(error)=>{
    //dosomething error
});

Use with web server

const server = require('health-monitor-service').server;
server.listen("your_port", "your_host", 1, (req, res) => {
    //dosome thing
});
2.1.2

9 years ago

2.1.1

9 years ago

2.1.0

9 years ago

2.0.1

9 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.2.0

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago