node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org ยป

ee-rate-limiter

ee-rate limit

installation

npm install ee-rate-limiter

usage

// limit to 100 items / minute
var rate = new RateLimiter( { rate: 100, range: 60 } );


if ( rate.ok() ){
	// ok

}
else {
	// rate limit exceeded

}