仓库

sindresorhus 的仓库

Create a deferred promise

最近提交 2025年9月8日

 (85 stars) (9 forks) (0 个已索引 issue) (0 个开放 good first issue)

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

最近提交 2024年8月29日

 (38 stars) (5 forks) (0 个已索引 issue) (0 个开放 good first issue)

Iterate over promises serially

最近提交 2022年7月8日

 (53 stars) (8 forks) (0 个已索引 issue) (0 个开放 good first issue)

Promisify an event by waiting for it to be emitted

最近提交 2026年3月14日

 (449 stars) (29 forks) (0 个已索引 issue) (0 个开放 good first issue)

Filter promises concurrently

最近提交 2026年3月22日

 (83 stars) (11 forks) (0 个已索引 issue) (0 个开放 good first issue)

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

最近提交 2021年4月9日

 (47 stars) (8 forks) (0 个已索引 issue) (0 个开放 good first issue)

Run promise-returning & async functions repeatedly until you end it

最近提交 2026年2月2日

 (50 stars) (9 forks) (0 个已索引 issue) (0 个开放 good first issue)

Conditional promise chains

最近提交 2021年4月9日

 (64 stars) (7 forks) (0 个已索引 issue) (0 个开放 good first issue)

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

最近提交 2021年4月9日

 (72 stars) (6 forks) (0 个已索引 issue) (0 个开放 good first issue)

Check if something is a promise

最近提交 2021年4月16日

 (45 stars) (9 forks) (0 个已索引 issue) (0 个开放 good first issue)

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

最近提交 2024年10月28日

 (284 stars) (12 forks) (0 个已索引 issue) (0 个开放 good first issue)

Run multiple promise-returning & async functions with limited concurrency

最近提交 2026年5月20日

 (2,865 stars) (132 forks) (0 个已索引 issue) (0 个开放 good first issue)

Get the first fulfilled promise that satisfies the provided testing function

最近提交 2026年2月3日

 (80 stars) (9 forks) (0 个已索引 issue) (0 个开放 good first issue)

Log the value/error of a promise

最近提交 2021年4月9日

 (30 stars) (5 forks) (0 个已索引 issue) (0 个开放 good first issue)

Map over promises concurrently

最近提交 2026年3月22日

 (1,499 stars) (66 forks) (3 个已索引 issue) (3 个开放 good first issue)

Map over promises serially

最近提交 2021年4月9日

 (51 stars) (5 forks) (0 个已索引 issue) (0 个开放 good first issue)

Memoize promise-returning & async functions

最近提交 2025年10月16日

 (441 stars) (32 forks) (1 个已索引 issue) (1 个开放 good first issue)

Delay a promise a minimum amount of time

最近提交 2025年9月25日

 (177 stars) (12 forks) (0 个已索引 issue) (0 个开放 good first issue)

Async mutex lock for managing access to a shared resource

最近提交 2025年7月6日

 (142 stars) (3 forks) (0 个已索引 issue) (0 个开放 good first issue)

Compose promise-returning & async functions into a reusable pipeline

最近提交 2021年4月8日

 (131 stars) (13 forks) (0 个已索引 issue) (0 个开放 good first issue)