P-Limit
Run multiple promise-returning & async functions
P-Limit is a JavaScript utility for controlling how many promise-returning or asynchronous functions execute at the same time. Developers create a limiter with a chosen concurrency level and run tasks through it instead of launching every operation immediately. The library works in both Node.js and modern browsers. It exposes counts for currently active and waiting tasks so applications can inspect workload state. Pending work can be cleared, and an optional setting can reject discarded...