npm.io
1.0.0 • Published 8 years ago

node-health-checker

Licence
ISC
Version
1.0.0
Deps
7
Vulns
0
Weekly
0

node-health-checker

node-health-checker npm module used to print overall os status memory status as well as current process details.

Installation

npm i node-health-checker --save

Usage

In your node program:

var NODE_HEALTH_CHECKER = require('node-health-checker')

Calling

Calling of status function

	NODE_HEALTH_CHECKER.status().then(function(result) {
		response.send(result);
	}).catch(function(error) {
		response.send({});
	});

Calling of health function

	NODE_HEALTH_CHECKER.health().then(function(result) {
		response.send(result);
	}).catch(function(error) {
		response.send({});
	});

Keywords