nano-throttle
v1.0.3
Published
Minimal throttle function implementation
Downloads
510
Readme
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