promise-method by wbinnssmith

Wraps a function and returns one that always returns a promise

updated at Aug. 25, 2016, 9:46 a.m.

JavaScript

2 +0

2 +0

0 +0

GitHub
sprom by then

Convert node.js Streams into Promises

updated at May 18, 2019, 9:33 p.m.

JavaScript

4 +0

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

updated at Jan. 3, 2022, 5:49 p.m.

JavaScript

2 +0

1 +0

0 +0

GitHub
p-log by sindresorhus

Log the value/error of a promise

updated at Nov. 18, 2022, 2:48 p.m.

JavaScript

6 +0

24 +0

4 +0

GitHub
promise-semaphore by samccone

promise semaphore

updated at Feb. 14, 2023, 11:47 a.m.

JavaScript

4 +0

30 +0

10 +0

GitHub
loud-rejection by sindresorhus

Make unhandled promise rejections fail loudly instead of the default silent fail

updated at Sept. 4, 2023, 12:46 a.m.

JavaScript

11 +0

281 +0

24 +0

GitHub
any-promise by kevinbeaty

NOTE: You probably want native promises now

updated at Sept. 8, 2023, 4:51 p.m.

JavaScript

8 +0

179 +0

18 +0

GitHub
promise-do-until by busterc

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

updated at Sept. 8, 2023, 5:04 p.m.

JavaScript

3 +0

1 +0

0 +0

GitHub
promise-do-whilst by busterc

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

updated at Sept. 8, 2023, 5:04 p.m.

JavaScript

3 +0

3 +0

1 +0

GitHub
pinkie by floatdrop

Itty bitty little widdle twinkie pinkie ES2015 Promise implementation

updated at Sept. 8, 2023, 7:05 p.m.

JavaScript

6 +0

137 +0

19 +0

GitHub
hard-rejection by sindresorhus

Make unhandled promise rejections fail hard right away instead of the default silent fail

updated at Sept. 21, 2023, 1:32 a.m.

JavaScript

6 +0

106 +0

8 +0

GitHub
creed by briancavalier

Sophisticated and functionally-minded async with advanced features: coroutines, promises, ES2015 iterables, fantasy-land

updated at Dec. 5, 2023, 6:57 p.m.

JavaScript

13 +0

273 +0

20 +0

GitHub
p-finally by sindresorhus

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

updated at Dec. 31, 2023, 1:41 a.m.

JavaScript

7 +0

45 +0

8 +0

GitHub
p-some by sindresorhus

Wait for a specified number of promises to be fulfilled

updated at Jan. 9, 2024, 10:25 a.m.

JavaScript

6 +0

34 +0

8 +0

GitHub
pinkie-promise by floatdrop

Promise ponyfill with pinkie

updated at Jan. 9, 2024, 10:26 a.m.

JavaScript

4 +0

119 +0

17 +0

GitHub
p-props by sindresorhus

Like `Promise.all()` but for `Map` and `Object`

updated at Jan. 19, 2024, 11:57 p.m.

TypeScript

7 +0

186 +0

25 +0

GitHub
p-if by sindresorhus

Conditional promise chains

updated at Jan. 20, 2024, 10:18 a.m.

TypeScript

7 +0

59 +0

6 +0

GitHub
p-tap by sindresorhus

Tap into a promise chain without affecting its value or state

updated at Jan. 31, 2024, 2:58 a.m.

JavaScript

8 +0

131 +0

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