Simple logger for setInterval. Replacement for setInterval sniffer on chrome web store.
npm install setinterval-watcherFunction.name property and an Error.stack.
__SETINTERVAL_WATCHER__ object after running some code. It will contain:
{
: // Opaque timer id. In a browser this is an int. In node it's an object that can't be tracked.
{
name: "", // Function.name property of the callback passed to setInterval.
stack: [], // Newline split stack trace originating in this helper.
}
}
``