node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey ยป

queue-queue

queue-queue queue-queue is the simplest possible queue which squashes intermediate events, yet guarantees at least one pending action is taken when applicable

try it out node test