the throunce is conflation of two words throttle and debounce.
$ npm install throunceimport { throttle, debounce } from 'throunce';
throttle(() => {
// Throttled function
}, 500);
debounce(() => {
// Debounced function
}, 500)| Name | Name | Last commit date | ||
|---|---|---|---|---|