kamikaze
A callback wrapper that executes it with a timeout error if not called in time.
Installation
npm install --save kamikaze
Usage
var kamikaze = var cb = // ...if called in less than 5 seconds, this will output 'Just in time!' // to cancel the callback timer just clear it
License
The MIT License (MIT)