P-Map
Map over promises concurrently
P-Map is a JavaScript utility for mapping over synchronous or asynchronous iterables while controlling concurrent promise execution. It is useful when the same async operation must process many inputs without starting every task at once. Unlike Promise.all, developers can set an explicit concurrency limit and choose how mapping errors should be handled. The library preserves input ordering in its returned results while allowing work to proceed concurrently. Its pMapIterable API streams...