@tuxsudo/debounce
v1.0.1
Published
Debounce the execution of a function.
Downloads
6
Readme
Debounce
Debounces the execution of a function. Written as an ES6 module.
import debounce from '@tuxsudo/debounce';
window.addEventListener('scroll', debounce( () => console.count(), 200 ) );