throttle-debounce is a lightweight JavaScript utility for limiting the rate at which a function is executed. It offers both throttling (executing a function at most once within a specified timeframe) and debouncing (delaying execution until after a certain period of inactivity). This library helps improve performance by preventing excessive function calls, especially useful for event handlers linked to rapid user actions like scrolling or resizing. It ensures smoother user experiences and optimizes resource consumption within web applications.
The throttle-debounce npm package has irregular releases. There were only 1-2 releases per month when releases occurred. The releases happened between December 2014 and June 2024. There were no releases between July 2024 and today, August 31, 2025.
The npm package 'throttle-debounce' saw consistent download numbers throughout 2024, hovering around 20-22 million monthly. In 2025, downloads steadily increased, peaking in June and July at over 28 million. August 2025 shows a decrease, but it's still a partial month, and its downloads are over 24 million.