node package manager

properjs-throttle

throttle

Rev limit your method calls.

Installation

npm install properjs-throttle --save-dev

Usage

var throttle = require( "properjs-throttle" );
 
// Fire callback at end of timeout 
var func = throttle(function() {
    // Do stuff here 
    
}, 200 );
 
 
func();