Socket
Socket
Sign inDemoInstall

basic-healthcheck

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    basic-healthcheck

Basic healthcheck for your system


Version published
Maintainers
1
Install size
1.81 kB
Created

Readme

Source

basic-healthcheck

Very basic system healthcheck, good to start your app quickly.

Since it returns an object, it can be easily extended including more information about the status of your database, networks, etc.

Here is a basic example:

var basicHC = require('basic-healthcheck')

var mystatus = basicHC.status(list_of_options)

the options being:

  • memory: free memory in your server

  • disk: free disk in your server

  • node_version: quite clear right?

Full example:

var basicHC = require('basic-healthcheck')

var mystatus = basicHC.status([ 'memory', 'disk', 'node_version' ])

Keywords

FAQs

Last updated on 06 May 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc