node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

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