New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fortune-healthcheck

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fortune-healthcheck

Healthcheck middleware for Fortune

0.0.1
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

fortune-healthcheck

A healthcheck middleware for Fortune

Usage

var healthcheck = require('fortune-healthcheck');
app.use(healthcheck(app.adapter, 'nameOfAResource'));

Healthcheck takes four parameters:

  • Fortune.adapter object
  • The name of one of the resources defined in Fortune as a string
  • A URL that the healthcheck is available on (defaults to /v1/healthcheck)
  • An error message that is passed to error handling middleware (defaults to Service Healthcheck Failed)

Keywords

fortune

FAQs

Package last updated on 19 Dec 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts