GitShow/sindresorhus/debounce
sindresorhus

debounce

Delay function calls until a set time elapses after the last invocation

by sindresorhus
Star on GitHubForknpm

JavaScript

847 stars74 forks19 contributorsQuiet · 3mo agoSince 2013

Meet the team

See all 19 on GitHub →
sindresorhus
sindresorhus15 contributions
matthewmueller
matthewmueller11 contributions
TooTallNate
TooTallNate10 contributions
selbekk
selbekk3 contributions
stephenmathieson
stephenmathieson3 contributions
tj
tj2 contributions
vendethiel
vendethiel2 contributions
aaronbeall
aaronbeall1 contribution

Recent fixes

View closed PRs →
designosis
Offer a transpiled version for IIFE environments?ClosedIssue

Hi! I've been a debounce fan since 1.0 ... it's absolutely best-in-class. Many of the interfaces I've added it to require vanilla JS (v2.2), and can't support the ESM-build (v3+). I imagine that's true for a fair % of its million users, and that's maybe tens of thousands of non-ESM devs who have to either jump through hoops transpiling it themselves ... or worse, drop debounce for cruddier alternatives. May I suggest offering and maintaining a simple file of v3 and beyond for a bit of backwards compatibility?

designosis · 8mo ago
dynst
fix undefined named importMergedPR

Fix on https://github.com/sindresorhus/debounce/commit/2872fb805ed982390e6bc720b31adb6185cbc143

dynst · 8mo ago
dynst
convert to ESMMergedPR

Closes #42

dynst · 8mo ago
Structured data for AI agents

Repository: sindresorhus/debounce. Description: Delay function calls until a set time elapses after the last invocation Stars: 847, Forks: 74. Primary language: JavaScript. Open PRs: 0, open issues: 0. Last activity: 3mo ago. Top contributors: sindresorhus, matthewmueller, TooTallNate, selbekk, stephenmathieson, tj, vendethiel, aaronbeall, billymoon, juliangruber and others.

·@ofershap

Replace github.com with gitshow.dev