Ping a healthchecks.io endpoint on a schedule
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dst
src
.gitignore
README.md
package.json
tsconfig.json

README.md

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:

const healthcheck = require('healthchecks.io');

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

// Ping healthcheck endpoint every 15 minutes

healthcheck(url, 15);