slay-terminus

    0.0.3 • Public • Published

    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

    Install

    npm i slay-terminus

    DownloadsWeekly Downloads

    1

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    13.6 kB

    Total Files

    7

    Last publish

    Collaborators

    • jacopodaeli
    • jcrugzz