t-throttle

0.0.2 • Public • Published

t-throttle

npm npm NPM

The tiny throttle function.

Installation

$ npm install t-throttle --save

How to use

const throttle = require('t-throttle');
const thFunc = throttle(() => {
  console.log('exec');
}, 1000);
 
for (let i = 0; i < 100; i++) {
  thFunc();
}

Readme

Keywords

Package Sidebar

Install

npm i t-throttle

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

1.77 kB

Total Files

4

Last publish

Collaborators

  • dev-momo