Repositories

sindresorhus repositories

1137 supported repositories

Returns a promise resolved in the next event loop - think `setImmediate()`

Last commit Apr 9, 2021

 (72 stars) (6 forks) (0 indexed issues) (0 open good first issues)

Check if something is a promise

Last commit Apr 16, 2021

 (45 stars) (9 forks) (0 indexed issues) (0 open good first issues)

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

Last commit Oct 28, 2024

 (284 stars) (12 forks) (0 indexed issues) (0 open good first issues)

Run multiple promise-returning & async functions with limited concurrency

Last commit May 20, 2026

 (2,865 stars) (132 forks) (0 indexed issues) (0 open good first issues)

Get the first fulfilled promise that satisfies the provided testing function

Last commit Feb 3, 2026

 (80 stars) (9 forks) (0 indexed issues) (0 open good first issues)

Log the value/error of a promise

Last commit Apr 9, 2021

 (30 stars) (5 forks) (0 indexed issues) (0 open good first issues)

Map over promises concurrently

Last commit Mar 22, 2026

 (1,499 stars) (66 forks) (3 indexed issues) (3 open good first issues)

Map over promises serially

Last commit Apr 9, 2021

 (51 stars) (5 forks) (0 indexed issues) (0 open good first issues)

Memoize promise-returning & async functions

Last commit Oct 16, 2025

 (441 stars) (32 forks) (1 indexed issue) (1 open good first issue)

Delay a promise a minimum amount of time

Last commit Sep 25, 2025

 (177 stars) (12 forks) (0 indexed issues) (0 open good first issues)

Async mutex lock for managing access to a shared resource

Last commit Jul 6, 2025

 (142 stars) (3 forks) (0 indexed issues) (0 open good first issues)

Compose promise-returning & async functions into a reusable pipeline

Last commit Apr 8, 2021

 (131 stars) (13 forks) (0 indexed issues) (0 open good first issues)

Create a promise that reports progress

Last commit Nov 4, 2023

 (765 stars) (26 forks) (0 indexed issues) (0 open good first issues)

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

Last commit Sep 21, 2025

 (201 stars) (15 forks) (0 indexed issues) (0 open good first issues)

Promise queue with concurrency control

Last commit May 16, 2026

 (4,211 stars) (206 forks) (1 indexed issue) (1 open good first issue)

A better `Promise.race()`

Last commit Dec 13, 2022

 (52 stars) (6 forks) (0 indexed issues) (0 open good first issues)

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

Last commit Feb 11, 2023

 (74 stars) (8 forks) (0 indexed issues) (0 open good first issues)

Make a promise always fulfill with its actual fulfillment value or rejection reason

Last commit Sep 11, 2025

 (56 stars) (7 forks) (0 indexed issues) (0 open good first issues)

Retry a promise-returning or async function

Last commit Mar 26, 2026

 (1,016 stars) (79 forks) (0 indexed issues) (0 open good first issues)

Run promise-returning & async functions in series

Last commit Aug 12, 2021

 (73 stars) (4 forks) (0 indexed issues) (0 open good first issues)