p-limit
Run multiple promise-returning & async functions with limited concurrency (by sindresorhus)
p-throttle
Throttle promise-returning & async functions (by sindresorhus)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
p-limit | p-throttle | |
---|---|---|
2 | 1 | |
1,693 | 386 | |
- | - | |
4.2 | 5.6 | |
6 months ago | 2 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
p-limit
Posts with mentions or reviews of p-limit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-28.
-
Batch uploading images
What you're looking for is called parallel execution with a concurrency limit — execute asynchronous code in parallel but not more than X at the same time. You'd want to use a library to help with the concurrency limit. A popular one is p-limit.
-
Beware of Promise.all
For system calls where you want to limit the number of parallel executions, no matter how long they take, there is the simple p-limit library:
p-throttle
Posts with mentions or reviews of p-throttle.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-28.
-
Beware of Promise.all
For API calls where you want to limit the number of calls per second, you can use the simple p-throttle library:
What are some alternatives?
When comparing p-limit and p-throttle you can also consider the following projects:
bree - Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
The gist - BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis
agenda - Lightweight job scheduling for Node.js
growthbook - Open Source Feature Flagging and A/B Testing Platform