@norest/plugin-health
TypeScript icon, indicating that this package has built-in type declarations

0.3.6 • Public • Published

Health plugin

A very simple plugin which adds a 200 on the /health endpoint for readiness- or liveness-probe.

Install

Add it to your norest.config.js file:

const HealthModule = require('@norest/plugin-health').HealthModule;

module.exports = {
  plugins: [HealthModule.register()]
};

Usage

GET /health -> 200 Status okay if instance is up and running.

Readme

Keywords

Package Sidebar

Install

npm i @norest/plugin-health

Weekly Downloads

0

Version

0.3.6

License

MIT

Unpacked Size

282 kB

Total Files

18

Last publish

Collaborators

  • janhommes