meltdown

0.1.0 • Public • Published

meltdown - a dead man's switch for hook.io

if you don't meltdown::pushthebutton before the meltdown::critical happens, all hook.io jobs you added with meltdown::jobs::add will execute.

emitting meltdown::pushthebutton will reset meltdown.countdown back to meltdown.timer

Installation

npm install meltdown -g

Usage

meltdown

Add a Job

 hook.emit('meltdown::jobs::add', {"event":"custom-event", "data" : {"foo":"bar"}});

this will now execute when meltdown::critical occurs.

Readme

Keywords

none

Package Sidebar

Install

npm i meltdown

Weekly Downloads

0

Version

0.1.0

License

none

Last publish

Collaborators

  • marak