throttler-js
A simple Javascript Throttler
Install
npm install throttler-js
Usage
import throttle from 'throttler-js';
// Throttle it to 2000ms
throttle(callback, 2000);
Tests
npm run test
A simple Javascript Throttler
npm install throttler-js
import throttle from 'throttler-js';
// Throttle it to 2000ms
throttle(callback, 2000);
npm run test
npm i throttler-js
1
1.0.3
ISC
3.32 kB
7