GitShow/sindresorhus/p-min-delay
sindresorhus

p-min-delay

Delay a promise a minimum amount of time

by sindresorhus
Star on GitHubForknpm

JavaScript

177 stars12 forks6 contributorsQuiet · 11mo agoSince 2016v4.2.0MIT

Meet the team

See all 6 on GitHub →
sindresorhus
sindresorhus20 contributions
Richienb
Richienb3 contributions
fisker
fisker3 contributions
BendingBender
BendingBender2 contributions
axetroy
axetroy1 contribution
davidtheclark
davidtheclark1 contribution

Languages

View on GitHub →
JavaScript87.4%
TypeScript12.6%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
sindresorhus
Add support for wrapping functions with minimum delayMergedPR

Fixes #22

sindresorhus · 11mo ago
fisker
Accept function?ClosedIssue

takes at least 1s to settle. takes at least 1s to resolve. I have similar function in my recent project accepts both Promise and function, I called it .

fisker · 11mo ago
joukosaastamoinen
Unhandled promise rejection if promise rejects before min delay has passedClosedIssue

Running this program (with ): crashes with this log output: The promise rejection should not go unhandled and the program should not crash, because there is a after the call. This bug was likely introduced in this PR: https://github.com/sindresorhus/p-min-delay/pull/23

joukosaastamoinen · 11mo ago
Structured data for AI agents

Repository: sindresorhus/p-min-delay. Description: Delay a promise a minimum amount of time Stars: 177, Forks: 12. Primary language: JavaScript. Languages: JavaScript (87.4%), TypeScript (12.6%). License: MIT. Latest release: v4.2.0 (11mo ago). Open PRs: 0, open issues: 0. Last activity: 11mo ago. Community health: 71%. Top contributors: sindresorhus, Richienb, fisker, BendingBender, axetroy, davidtheclark.

·@ofershap

Replace github.com with gitshow.dev