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();
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i t-throttle

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

1.77 kB

Total Files

4

Last publish

Collaborators

  • dev-momo