@tuxsudo/throttle

1.0.1 • Public • Published

Throttler

Throttle the execution of a function. Written as an ES6 module.

import throttle from '@tuxsudo/throttle';

window.addEventListener('scroll', throttle( () => console.count(), 1000 ) );

Readme

Keywords

Package Sidebar

Install

npm i @tuxsudo/throttle

Weekly Downloads

5

Version

1.0.1

License

MIT

Last publish

Collaborators

  • tuxsudo