Delay function calls until a set time elapses after the last invocation
by sindresorhusJavaScript
Last 12 weeks · 0 commits
4 of 6 standards met
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?
Repository: sindresorhus/debounce. Description: Delay function calls until a set time elapses after the last invocation Stars: 851, Forks: 75. Primary language: JavaScript. Languages: JavaScript (100%). Latest release: v3.0.0 (9mo ago). Open PRs: 0, open issues: 0. Last activity: 5mo ago. Community health: 85%. Top contributors: sindresorhus, matthewmueller, TooTallNate, selbekk, stephenmathieson, tj, vendethiel, aaronbeall, billymoon, juliangruber and others.