@ocyrusjs/debounce
v1.0.0
Published
High-performance, minimal debounce utility.
Downloads
87
Maintainers
Readme
@ocyrusjs/debounce 🌑
High-performance, minimal debounce utility.
Part of the Ocyrus suite.
✨ Features
- Minimal: Lightweight implementation with low overhead.
- Cancelable: Support for
.cancel()to stop execution.
📦 Installation
npm install @ocyrusjs/debounce🛠️ Usage
import { debounce } from '@ocyrusjs/debounce';
const log = debounce(() => console.log('Debounced!'), 100);
log();
log.cancel();License
MIT © Nishith Patel
