1.0.2 • Published 4 years ago

@chrisb-dev/healthcheck v1.0.2

Weekly downloads
3
License
-
Repository
-
Last release
4 years ago

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>

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago