CreateRateLimiter
createRateLimiter
Creates a new rate limiter instance with the specified configuration
Example
const limiter = createRateLimiter({
  maxRequests: 5,
  interval: 30000,
  storage: new CustomStorage()
});
Signature
function createRateLimiter(options: RateLimitOptions): RateLimiter
Parameters
options
parameter