1.1.0 • Published 4 years ago

heartbeat.sh v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

heartbeat.js

A js client library for heartbeat.sh.

Usage

Install the package with npm i heartbeat-sh

Example Usage:

const heartbeatClient = require('heartbeat-sh')

const secondsPerDay = 86400
const secondsPerHour = 3600

const myClient = new heartbeatClient({subdomain: "example"})
myClient.SendHeartbeat("example:js", secondsPerDay + 2 * secondsPerHour, secondsPerDay * 2)
1.1.0

4 years ago

1.0.0

4 years ago