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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    3

Package Sidebar

Install

npm i meltdown

Weekly Downloads

3

Version

0.1.0

License

none

Last publish

Collaborators

  • marak