nano-debounce
v1.0.5
Published
Minimal debounce function implementation
Readme
nano-debounce
Minimal debounce function with immediate call support. 65 bytes (minified and gzipped) Size Limit controls the size
Install
npm install nano-debounce --saveUsage
import debounce from 'nano-debounce';
debounce(callback, ms);
debounce(callback, ms, true); // with immediate call
