
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

async.mapLimit's functionality available as a standalone npm module.
I often find myself pulling in async for this method alone, so in the spirit of breaking things into smaller pieces here's that method as a single thing you can require.
mapLimit(arr, limit, iterator, callback)The same as map only no more than "limit" iterators will be simultaneously running at any time.
Note that the items are not processed in batches, so there is no guarantee that the first "limit" iterator functions will complete before any others are started.
MIT. See LICENSE.md for details.
The async package provides a wide range of asynchronous utilities, including the mapLimit function, which offers similar functionality to map-limit. It is more feature-rich and widely used, making it a good alternative if you need more than just map limiting.
The p-limit package allows you to run multiple promise-returning & async functions with a concurrency limit. It is more modern and uses promises, making it a good choice for projects that prefer promise-based APIs over callback-based ones.
Bluebird is a fully-featured promise library with a focus on performance and innovative features. It includes a map function with concurrency control, similar to map-limit, but also offers a wide range of other utilities for working with promises.
FAQs
async.mapLimit's functionality available as a standalone npm module
We found that map-limit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.