p-reduce by sindresorhus

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

created at Oct. 21, 2016, 4:17 a.m.

JavaScript

6 +0

68 +0

7 +0

GitHub
p-if by sindresorhus

Conditional promise chains

created at Oct. 21, 2016, 7:09 a.m.

TypeScript

7 +0

60 +0

6 +0

GitHub
p-try by sindresorhus

Start a promise chain

created at Oct. 21, 2016, 6:03 a.m.

JavaScript

6 +0

58 +0

12 +0

GitHub
p-any by sindresorhus

Wait for any promise to be fulfilled

created at Oct. 21, 2016, 5:28 a.m.

JavaScript

6 +0

55 +0

7 +0

GitHub
p-whilst by sindresorhus

While a condition returns true, calls a function repeatedly, and then resolves the promise

created at Nov. 17, 2015, 5:48 p.m.

JavaScript

7 +0

54 +0

9 +0

GitHub
p-each-series by sindresorhus

Iterate over promises serially

created at Oct. 21, 2016, 4:52 a.m.

JavaScript

6 +0

50 +0

7 +0

GitHub
p-map-series by sindresorhus

Map over promises serially

created at Oct. 21, 2016, 4:26 a.m.

JavaScript

7 +0

47 +0

4 +0

GitHub
p-race by sindresorhus

A better `Promise.race()`

created at Oct. 21, 2016, 6:33 a.m.

JavaScript

6 +0

46 +0

5 +0

GitHub
p-finally by sindresorhus

`Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome

created at Oct. 21, 2016, 5:50 a.m.

JavaScript

7 +0

45 +0

8 +0

GitHub
p-catch-if by sindresorhus

Conditional promise catch handler

created at Oct. 22, 2016, 3:47 p.m.

JavaScript

7 +0

38 +0

5 +0

GitHub
p-times by sindresorhus

Run promise-returning & async functions a specific number of times concurrently

created at Oct. 22, 2016, 2:19 p.m.

JavaScript

7 +0

38 +0

5 +0

GitHub
p-some by sindresorhus

Wait for a specified number of promises to be fulfilled

created at Oct. 21, 2016, 5:17 a.m.

JavaScript

6 +0

36 +0

8 +0

GitHub
promise-semaphore by samccone

promise semaphore

created at Dec. 24, 2014, 3:14 a.m.

JavaScript

4 +0

29 +0

10 +0

GitHub
p-log by sindresorhus

Log the value/error of a promise

created at Oct. 21, 2016, 7:27 a.m.

JavaScript

6 +0

26 +0

4 +0

GitHub
p-break by sindresorhus

Break out of a promise chain

created at Nov. 11, 2016, 10:01 a.m.

JavaScript

6 +0

22 +0

5 +0

GitHub
sprom by then

Convert node.js Streams into Promises

created at April 23, 2013, 9:16 p.m.

JavaScript

4 +0

14 +0

0 +0

GitHub
promise-do-whilst by busterc

loop Calls a function repeatedly while a condition returns true and then resolves the promise

created at Nov. 25, 2015, 10:12 p.m.

JavaScript

3 +0

3 +0

1 +0

GitHub
promise-method by wbinnssmith

Wraps a function and returns one that always returns a promise

created at Sept. 19, 2015, 6:42 a.m.

JavaScript

2 +0

2 +0

0 +0

GitHub
promise-nodeify by kevinoid

Call a Node-style callback with the resolution value or rejection cause of a Promise without the common pitfalls.

created at March 2, 2016, 7:11 p.m.

JavaScript

2 +0

2 +0

0 +0

GitHub
promise-do-until by busterc

loop Calls a function repeatedly until a condition returns true and then resolves the promise

created at Nov. 25, 2015, 10:11 p.m.

JavaScript

3 +0

1 +0

0 +0

GitHub