Skip to content

gorillab/health

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

health

Build Status Dependencies Status NPM Version NPM Downloads

The simplest health check middleware for express app

installation

yarn add @gorillab/health

or using npm

npm install --save @gorillab/health

usage

import Express from 'express';
import Health from '@gorillab/health';

const app = Express();

app.use(Health());

app.listen(9000);

The endpoint is exposed as http://localhost:9000/health. Done!!!