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

@chrisb-dev/healthcheck

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chrisb-dev/healthcheck

Makes requests to a given URL until it gives a response. This is useful for checking other services are up before starting end to end tests.

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

HTTP Healthcheck

Makes requests to a given URL until it gives a response. This is useful for checking other services are up before starting end to end tests.

Installation

Install with yarn or npm:

yarn add @chrisb-dev/healthcheck --dev

npm install @chrisb-dev/healthcheck --save-dev

Usage

The basic usage is as follows:

healthcheck <urlToCheck>

Although you can add values for maxRetries and intervals if you need to. Max retries defaults to 20 and interval defaults to 1000ms

healthcheck <urlToCheck> <maxRetries> <interval>

FAQs

Package last updated on 05 Apr 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc