p-defer by sindresorhus

Create a deferred promise

updated at April 22, 2024, 2:32 a.m.

JavaScript

8 +0

66 +0

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

updated at April 19, 2024, 4:41 p.m.

JavaScript

2 +0

2 +0

0 +0

GitHub
p-wait-for by sindresorhus

Wait for a condition to be true

updated at April 19, 2024, 10:42 a.m.

JavaScript

8 +0

150 +0

19 +0

GitHub
task.js by mozilla

Beautiful concurrency for JavaScript

updated at April 17, 2024, 9:21 p.m.

JavaScript

49 +0

1,631 +0

72 +0

GitHub
promise-semaphore by samccone

promise semaphore

updated at April 17, 2024, 9:16 p.m.

JavaScript

4 +0

29 +0

10 +0

GitHub
is-promise by then

Test whether an object looks like a promises-a+ promise

updated at April 17, 2024, 4:21 a.m.

JavaScript

10 +0

282 +0

32 +0

GitHub
p-lazy by sindresorhus

Create a lazy promise that defers execution until it's awaited or when .then() or .catch() is called

updated at April 11, 2024, 1:49 p.m.

JavaScript

8 +0

263 +0

10 +0

GitHub
p-timeout by sindresorhus

Timeout a promise after a specified amount of time

updated at April 2, 2024, 7:58 p.m.

JavaScript

7 +0

261 +0

29 +1

GitHub
p-settle by sindresorhus

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

updated at March 19, 2024, 10:23 a.m.

JavaScript

6 +0

89 +0

11 +0

GitHub
native-promise-only by getify

A polyfill for native ES6 Promises as close as possible (no extensions) to the strict spec definitions.

updated at March 13, 2024, 2:42 p.m.

JavaScript

33 +0

725 +0

78 +0

GitHub
p-filter by sindresorhus

Filter promises concurrently

updated at Feb. 2, 2024, 1:06 a.m.

JavaScript

7 +0

70 +0

8 +0

GitHub
p-break by sindresorhus

Break out of a promise chain

updated at Jan. 31, 2024, 3:19 a.m.

JavaScript

6 +0

21 +0

5 +0

GitHub
p-times by sindresorhus

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

updated at Jan. 31, 2024, 3:11 a.m.

JavaScript

7 +0

36 +0

5 +0

GitHub
p-catch-if by sindresorhus

Conditional promise catch handler

updated at Jan. 31, 2024, 3:11 a.m.

JavaScript

7 +0

37 +0

5 +0

GitHub
p-race by sindresorhus

A better `Promise.race()`

updated at Jan. 31, 2024, 3:10 a.m.

JavaScript

6 +0

45 +0

5 +0

GitHub
p-map-series by sindresorhus

Map over promises serially

updated at Jan. 31, 2024, 3:09 a.m.

JavaScript

8 +0

46 +0

4 +0

GitHub
p-whilst by sindresorhus

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

updated at Jan. 31, 2024, 3:08 a.m.

JavaScript

7 +0

51 +0

8 +0

GitHub
p-any by sindresorhus

Wait for any promise to be fulfilled

updated at Jan. 31, 2024, 3:08 a.m.

JavaScript

6 +0

54 +0

7 +0

GitHub
p-reduce by sindresorhus

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

updated at Jan. 31, 2024, 3:06 a.m.

JavaScript

6 +0

66 +0

7 +0

GitHub
p-time by sindresorhus

Measure the time a promise takes to resolve

updated at Jan. 31, 2024, 3:05 a.m.

JavaScript

6 +0

68 +0

5 +0

GitHub