0.0.3 • Published 5 years ago

slay-terminus v0.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

slay-terminus

Slay preboot providing shutdown and Kubernetes readiness / liveness checks with terminus.

Usage

const terminusOptions = {
  healthChecks: {
    '/healthcheck': () => Promise.resolve()
  },
  logger: console.log
};

app.preboot(require('slay-terminus')(terminusOptions));

Tests

All tests are written with mocha and should be run with npm:

$ npm test