p-try by sindresorhus

Start a promise chain

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

JavaScript

6 +0

50 +0

12 +0

GitHub
p-race by sindresorhus

A better `Promise.race()`

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

JavaScript

6 +0

45 +0

5 +0

GitHub
p-timeout by sindresorhus

Timeout a promise after a specified amount of time

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

JavaScript

7 +0

261 +0

28 +0

GitHub
p-wait-for by sindresorhus

Wait for a condition to be true

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

JavaScript

8 +0

150 +0

19 +0

GitHub
p-retry by sindresorhus

Retry a promise-returning or async function

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

JavaScript

7 +0

748 +1

57 +0

GitHub
p-debounce by sindresorhus

Debounce promise-returning & async functions

created at Oct. 21, 2016, 8:01 a.m.

JavaScript

5 +0

193 +0

23 +0

GitHub
p-throttle by sindresorhus

Throttle promise-returning & async functions

created at Oct. 21, 2016, 8:10 a.m.

JavaScript

8 +0

387 +3

27 +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

51 +0

8 +0

GitHub
p-memoize by sindresorhus

Memoize promise-returning & async functions

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

TypeScript

8 +0

372 -1

32 +0

GitHub
p-settle by sindresorhus

Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency

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

JavaScript

6 +0

89 +0

11 +0

GitHub
p-filter by sindresorhus

Filter promises concurrently

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

JavaScript

7 +0

70 +0

8 +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

24 +0

4 +0

GitHub
p-time by sindresorhus

Measure the time a promise takes to resolve

created at July 11, 2016, 11:45 p.m.

JavaScript

6 +0

68 +0

5 +0

GitHub
p-catch-if by sindresorhus

Conditional promise catch handler

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

JavaScript

7 +0

37 +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

36 +0

5 +0

GitHub
p-limit by sindresorhus

Run multiple promise-returning & async functions with limited concurrency

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

JavaScript

14 +0

1,691 +15

92 -6

GitHub
p-all by sindresorhus

Run promise-returning & async functions concurrently with optional limited concurrency

created at Oct. 21, 2016, 3:49 a.m.

JavaScript

10 +0

299 +0

13 +0

GitHub
p-map by sindresorhus

Map over promises concurrently

created at Oct. 21, 2016, 3:34 a.m.

JavaScript

13 +0

1,224 +3

55 +1

GitHub
p-tap by sindresorhus

Tap into a promise chain without affecting its value or state

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

JavaScript

8 +0

131 +0

9 +0

GitHub
p-if by sindresorhus

Conditional promise chains

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

TypeScript

7 +0

58 -1

6 +0

GitHub