turing-health

An express route for an health check.

Usage no npm install needed!

<script type="module">
  import turingHealth from 'https://cdn.skypack.dev/turing-health';
</script>

README

turing-health

version license

An express route for an health check.

API

Simply require turing-health and add the router to your turing-server.

const TuringHealth = require('turing-health');

app.use(new TuringHealth());

Config

  • turing:server:routes:internal - The base-url of internal endpoints like health or status. (default: "/internal")
  • turing:health:route - The relative url of the health endpoint behind the internal route. (default: "/health")

Contributors

  • Benedikt Stemmildt
  • Jonathan Meyer

License

Apache-2.0