small library for nodejs to queue events and bulk process them