node-status-health

1.0.2 • Public • Published

node-status-health

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

Installation

npm i node-status-health --save

Usage

In your node program:

var NODE_STATUS_HEALTH = require('node-status-health')

Calling

Calling of status function

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

Calling of health function

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

Dependencies (7)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i node-status-health

    Weekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    16.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • anuragkumawat