throttle-decorator

0.2.0 • Public • Published

throttle-decorator

ES decorator that make a function throttled.

Build Status Dependency Status devDependency Status

Install

$ npm install --save-dev throttle-decorator

Usage

import throttle from 'throttle-decorator';
 
class Cat {
  @throttle(100)
  meow() {
    console.log('meow');
  }
}

License

MIT © Shogo Sensui

Readme

Keywords

none

Package Sidebar

Install

npm i throttle-decorator

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • 1000ch