Rate Limiter Middleware (Express, TS, Fixed + Sliding Window) screenshot 1

Rate Limiter Middleware (Express, TS, Fixed + Sliding Window)

A95Verified
LicenseStandard License
Last updatedAug 2, 2026
CategoryAPI
DeliveryGit Repository
Category
API
Tech stack
TypeScript, Node.js
Price
$39.00 USD
Quality grade
A
Seller
PROLAB®
License
Commercial use included
Delivery
Repo access
Updated
2 Aug 2026

Description

A hardened Express rate limiting library

A rate limiter for Express in strict TypeScript with fixed window and sliding window algorithms, an in-memory store, standard rate-limit headers and Retry-After support.

What's included

  • Fixed window — simple per-client limits
  • Sliding window — precise rolling limits
  • MemoryStore — with reset APIs
  • Headers — RateLimit-* + Retry-After
  • Custom keyGenerator — bucket by any key
  • Skip / disable — flexible control
  • 22 passing tests — node:test suite
  • Dual CJS/ESM build — via TypeScript

Quick Start

npm install npm run build npm test

Stack

TypeScript strict · Express · Node.js 18+

Use cases

  • Public API protection
  • Login endpoint throttling
  • Abuse prevention
  • Learning rate limiting
A

Heuristic score: 95/100Verified

Static zipball scan — not a live ESLint or Semgrep run. Last scanned

Code Quality97/100
Dependencies95/100
Security100/100
Testing80/100
Documentation100/100

Reviews

No reviews yet. Purchase to leave a review.