hook.io-sitemonitor

0.2.0 • Public • Published

hook.io-sitemonitor

a Hook for pinging sites. useful for determining if a site is online or offline.

Installation

 npm install hook.io-sitemonitor -g

Usage

 hookio-sitemonitor

Hook Events Names

siteDown event emitted when a site goes down

siteUp event emitted when a site comes back online from being down

Hook config.json settings

 
{ 
  "sites": [
   {
     "name": "Google",
     "url": "http://google.com/"
   },
   {
     "name": "Github",
     "url": "http://www.github.com/"
   }
  ]
}
 

Required Hooks

Readme

Keywords

none

Package Sidebar

Install

npm i hook.io-sitemonitor

Weekly Downloads

1

Version

0.2.0

License

none

Last publish

Collaborators

  • marak
  • kesla