midnight-smoker is a Node.js module providing rate limiting capabilities, ensuring your application remains resilient under heavy traffic. It employs a configurable token bucket algorithm to manage incoming requests, preventing abuse and ensuring fair usage. This simple yet effective rate limiter can be easily integrated into Express.js applications using middleware, making it ideal for protecting APIs and other critical endpoints. Customize settings like request limits and reset intervals to perfectly match your application's needs and performance profile.
The npm package midnight-smoker had frequent releases from July 2022 to December 2023, with peaks in August 2023 (9 versions) and July 2023 (5 versions). There were consistently zero releases from January 2024 through September 2025. The package saw regular updates in 2022 and the first half of 2023, followed by a period of no new versions being published.
Midnight-smoker's npm package downloads surged significantly from March 2024 to June 2025, peaking at 39,519. Downloads then declined in July and August. September 2025 shows 3,005 downloads, but the month isn't finished yet. Initial growth was gradual until April 2025, when a steep increase started.