An express subapp for simple load balancer health checks. Returns 200 OK
for GET /health
.
$ npm install health-app
var express = require('express');
var Health = require('health-app');
var subapp = new Health();
express()
.use('/', subapp.app())
.listen(8000);
Generate an express subapp that serves 200 OK
for GET /health
.
WWWWWW||WWWWWW
W W W||W W W
||
( OO )__________
/ | \
/o o| MIT \
\___/||_||__||_|| *
|| || || ||
_||_|| _||_||
(__|__|(__|__|