paddle

You are up a creek; here is your paddle. Paddle provides a way ensuring that JS asynchronous callbacks are actually ran, or calls a provided error function upon timeout.

npm install paddle
6 downloads in the last month
npm loves you