nuxt-health

Nuxt health check server middleware
2,250
Install
npm install nuxt-health
Latest Version:0.1.0
License:MIT
Last Updated:Jul 19, 2023
Links: GitHub  ·  npm
Maintainer: hugome

nuxt-health

Codacy Badge Maintainability Downloads

How to use it

In your nuxt.config.js

module.exports = {
  modules: [
    'nuxt-health'
  ],
  health: {
    /** @type {String?} Path of health check. */
    path: '/.well-known/nuxt/server-health',
    /** @type {Boolean?} Enable server check. */
    server: true,
    /** @type {Boolean?} Enable client check. */
    client: true,
    /** @type {Function?} Add custom check to the health */
    async custom(options) { }
  }
}

Related Packages

nuxt-healthz

Nuxt module - quick add healthcheck path: /healthcheck to Nuxt App project

2,536 1
@scayle/storefront-nuxt

Nuxt integration for the SCAYLE Commerce Engine and Storefront API

152,903
nuxt-tsconfig-stub

Stub Nuxt's generated tsconfig.json at installation

70,835 24
kuranuxt

Look at the Nuxt 3 documentation to learn more.

871 0
@immera/vitals

Framework-agnostic /vitals health endpoint: one core, thin adapters for Node wor...

287

Version History

Version Released License
0.1.0 MIT
0.0.1 MIT