niksy/throttle-debounce
Throttle and debounce functions. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4274
- days_rel: n/a
- days_push: 800
- n_releases_24m: 0
Adoption not part of the score
1044 stars · 106 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small JavaScript utility library providing throttle and debounce functions, ported from jquery-throttle-debounce to ES Modules and CommonJS. It supports options like leading/trailing execution, at-begin mode, and cancellation of pending calls.
Use cases
- rate-limit scroll or resize event handlers
- debounce search input before firing API requests
- throttle window resize callbacks
- cancel a pending debounced call
- limit how often a button handler fires
When to choose
- you need a tiny, dependency-free throttle/debounce utility
- you want ES Modules and CommonJS support
- you need cancel support including upcoming-only cancellation
When to avoid
- your framework already bundles throttle/debounce (e.g. lodash)
- you need advanced scheduling like trailing-edge promises or async throttling
Facets
library · maturity stable
middleware web-development frontend developer-tools browser cross-platform throttle debounce rate-limiting es-modules javascript npm-package event-handling nodejs
2 sources
- readme: https://github.com/niksy/throttle-debounce · fetched 2026-08-28 · 6524d5efa7ee
- registry_npm: https://registry.npmjs.org/throttle-debounce · fetched 2026-08-29 · 7481b742f9d5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| niksy/throttle-debounce | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="niksy/throttle-debounce")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem