1.0.3 • Published 4 years ago
nano-throttle v1.0.3
nano-throttle
Minimal throttle function with trailing call support. 102 bytes (minified and gzipped) Size Limit controls the size
Install
npm install nano-throttle --save
Usage
import throttle from 'nano-throttle';
throttle(callback, ms);
throttle(callback, ms, false); // without trailing call