@journey-to-code/open-debounce-throttle
v1.0.0
Published
Dependency-free debounce and throttle helpers with cancel and flush controls.
Maintainers
Readme
open.debounce-throttle
Dependency-free debounce and throttle helpers with cancel and flush controls.
Install
npm install @journey-to-code/open-debounce-throttleUsage
const onSearch = debounce(search, 250);
const onScroll = throttle(update, 100);Runtime
- Node.js 18+
- modern ESM-capable tooling
- zero runtime dependencies
Development
npm testScope
This package intentionally focuses on one small, reusable responsibility. Application-specific behavior belongs in higher-level packages.
License
MIT
