Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including scalable-rate-limiter with all npm packages installed. Try it out:

var scalableRateLimiter = require("scalable-rate-limiter")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

scalable-rate-limiter v1.0.9

A rate limiter that uses redis to horizontally scale across servers. It allows a user to set the number of tokens per user per timeframe. What separates this package from the rest is it is race-condition safe since it uses a LUA script for atomic funcs

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free