The legendary healthchecks.io npm module.
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.
Install the package using
# if you use npm npm i -S healthchecks.io
# if you use yarn yarn add healthchecks.io
const healthcheck = require('healthchecks.io'); const url = 'https://hchk.io/f55d2579-8dc2-4149-83f4-263cabe334c0'; // Ping healthcheck endpoint every 15 minutes healthcheck(url, 15);