t-debounce
v0.0.2
Published
The tiny debounce function
Downloads
2
Readme
t-debounce
The tiny debounce function.
Installation
$ npm install t-debounce --save
How to use
const debounce = require('t-debounce');
const deFunc = debounce(() => {
console.log('exec');
}, 1000);
for (let i = 0; i < 100; i++) {
deFunc();
}