sindresorhus

throttleit

Throttle a function to limit its execution rate

by sindresorhus

JavaScript

JavaScript100%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
vladshcherbin
Convert to ESMClosedIssue

Would be nice to see this project use ESM: v.2.1.0

vladshcherbin · 3mo ago
itsuki-murata

Currently I'm using throttleit version 0.0.2, but can't find a LICENSE file in the repo of ver 0.0.2. Could you add the LICENSE file in the repo of ver 0.0.2? Or is it possible to use the LICENSE file of the latest version as the license for ver 0.0.2? Thanks in advance.

itsuki-murata · 2y ago
KimmoHernborg

We are using your excellent library in a React Native project, and stumbled onto an issue where some native elements would trigger the throttled functions without any callback. This would trigger a unhandled exception that would crashes the application. To fix this I simply added the optional chaining operator to the argument, so that if is not set - it will not be called.

KimmoHernborg · 2y ago
Structured data for AI agents

Repository: sindresorhus/throttleit. Description: Throttle a function to limit its execution rate Stars: 108, Forks: 20. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v3.0.0 (3mo ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, TooTallNate, darsain, tj, calvinfo, juliangruber, mrmartineau.