heroku-pulse

1.0.0 • Public • Published

heroku-pulse

an npm package designed to keep your free heroku server awake

usage

heroku-pulse takes in 2 arguments with a callback function that returns a success or failure message

pulse(url, milliseconds, callback());
const pulse = require('heroku-pulse');
 
pulse('http://<YOUR-APP-URL>/', 30000, (res) => {
  console.log(res);
})

Package Sidebar

Install

npm i heroku-pulse

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

2.65 kB

Total Files

4

Last publish

Collaborators

  • kevin-wynn