2.2.0 • Published 3 years ago

healthchecks.io v2.2.0

Weekly downloads
1
License
ISC
Repository
github
Last release
3 years ago

healthchecks.io

The legendary healthchecks.io npm module.

Literally the simplest way to monitor the availability of your JavaScript application - for free!

Healthchecks.io is a free service that allows you to monitor the availability of your application. Receive notifications when your app goes down via email, Slack, Telegram message, or a number of other integrations.

This JavaScript modules allows you to ping a healthchecks.io endpoint on a schedule.

To use

Install the package using npm or yarn:

# if you use npm

npm i -S healthchecks.io 
# if you use yarn

yarn add healthchecks.io 

Example usage:

import { healthcheck } from 'healthchecks.io'; // TypeScript
const healthcheck = require('healthcheck').healthcheck: // JavaScript

const url = 'https://hchk.io/f55d2579-8dc2-4149-83f4-263cabe334c0';

// Ping healthcheck endpoint every 15 minutes

const check = healthcheck(url, 15);

check.on('error', err => console.log('Error pinging healthcheck', err));

check.stop(); // can restart with check.start()
2.2.0

3 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.0

5 years ago

1.2.0

5 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago