# cowboy/jquery-throttle-debounce

jQuery throttle / debounce: Sometimes, less is more!

Repository: https://github.com/cowboy/jquery-throttle-debounce
Canonical: https://ross.abutalabs.com/products/jquery-throttle-debounce
Homepage: http://benalman.com/projects/jquery-throttle-debounce-plugin/
Language: JavaScript
License: GPL-2.0
License Family: copyleft
Last push: 2023-01-03T15:55:50+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 6024, "days_push": 1338, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1114, forks 187 (observed 2026-08-28T04:03:38.186405+00:00)

## What it is
A tiny jQuery plugin by Ben Alman providing $.throttle and $.debounce functions to rate-limit function execution. It works without jQuery too, falling back to a Cowboy namespace.

## Use cases
- throttle scroll or resize event handlers
- debounce search input before firing an API request
- limit how often a button click handler runs
- coalesce rapid function calls into one execution
- rate-limit expensive DOM updates

## When to choose
- you're on legacy jQuery code and need battle-tested throttle/debounce
- you want a tiny (~0.7kb) dependency-free utility

## When to avoid
- starting a modern project - use native scheduling or lodash's throttle/debounce instead
- you need modern ES module packaging or TypeScript types

## Facets
- artifact type: library
- maturity: maintenance
- function: middleware
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: jquery-plugin, throttle, debounce, rate-limiting, javascript, nodejs

## Member repositories
- cowboy/jquery-throttle-debounce (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:38.186405+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:42:16.640673+00:00, confidence not recorded.
  - readme: https://github.com/cowboy/jquery-throttle-debounce (fetched 2026-08-28T04:03:38.186405+00:00, sha 97572c0a2415)
  - homepage: http://benalman.com/projects/jquery-throttle-debounce-plugin/ (fetched 2026-08-29T12:46:12.488725+00:00, sha 49db6c4577e7)
  - site_page: https://benalman.com/about (fetched 2026-08-29T12:46:12.497940+00:00, sha 3aafe40a123e)
  - site_page: https://benalman.com/code/projects/jquery-throttle-debounce/docs (fetched 2026-08-29T12:46:12.499852+00:00, sha 706854f2d121)
  - site_page: https://benalman.com/about/license (fetched 2026-08-29T12:46:12.501409+00:00, sha 25a1aa103209)
- Data as of 2026-08-30T08:39:29.467469+00:00.
