Skip to content

anuragkumawat/node-health-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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({});
	});

About

node-health-checker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published