Skip to content

shivam-deepsource/nuxt-health

 
 

Repository files navigation

nuxt-health

Codacy Badge Maintainability David Known Vulnerabilities

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) { }
  }
}

About

Health check for nuxt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%