Awesome Lists

p-reduce

by sindresorhus

JavaScriptpushed over 3 years ago

Reduce a list of values using promises into a promise for a value

AI summary

Value accumulator

Transforms an asynchronous list into a single value by applying a reduction function

stars
68
forks
7
watching
6
awesome list
1
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/sindresorhus/p-reduce/links.svg)](https://awesome.facts.dev/awesome/sindresorhus/p-reduce)
HTML
<a href="https://awesome.facts.dev/awesome/sindresorhus/p-reduce"><img src="https://awesome.facts.dev/shield/sindresorhus/p-reduce/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/sindresorhus/p-reduce/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.