Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

health-app

segmentio27SEE LICENSE IN LICENSE1.1.0

(Mountable) Express app for health checks.

readme

health-app

An express subapp for simple load balancer health checks. Returns 200 OK for GET /health.

Installation

$ npm install health-app

Example

var express = require('express');
var Health = require('health-app');

var subapp = new Health();

express()
  .use('/', subapp.app())
  .listen(8000);

API

Health()

Generate an express subapp that serves 200 OK for GET /health.

License

WWWWWW||WWWWWW
 W W W||W W W
      ||
    ( OO )__________
     /  |           \
    /o o|    MIT     \
    \___/||_||__||_|| *
         || ||  || ||
        _||_|| _||_||
       (__|__|(__|__|

changelog

1.1.0 / 2016-09-01

  • Pin express dep less restrictively to allow use with express 4 (#2)

1.0.1 / 2016-07-19

  • Auth on npm for package publishing

1.0.0 / 2016-07-19

  • Pin dependencies less strictly to allow shrinkwrapping
  • Enable CircleCI
  • Update test harness to include linting

0.0.1 - October 29, 2013

:sparkles: