koa-health-report

0.1.0 • Public • Published

CircleCI

Koa Custom Health Report Middleware

Installation:

const healthreport = require('koa-health-report');

The default path is /health:

app.use(healthreport());

With a custom path:

app.use(healthreport({ path: '/custompath' }));

With a custom report object (appended):

app.use(healthreport({ custom: {
  foo: 'bar',
  bin: () => 'baz',
} }));

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    0

Package Sidebar

Install

npm i koa-health-report

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

6.37 kB

Total Files

5

Last publish

Collaborators

  • roppa_uk