Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

express-rate-limit

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-rate-limit - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

9

index.d.ts

@@ -19,3 +19,2 @@ import { RequestHandler, Request, Response, NextFunction } from 'express';

export interface Store {
constructor(windowMs: number);
hits: {

@@ -32,8 +31,4 @@ [key: string]: number;

export interface ExpressLimiterInterface {
(options: Options): (req: Request, res: Response, next: NextFunction) => void;
}
declare function RateLimit(options?: Options): (req: Request, res: Response, next: NextFunction) => void;
declare const ExpressRateLimiter: ExpressLimiterInterface;
export default ExpressRateLimiter;
export = RateLimit;
{
"name": "express-rate-limit",
"version": "4.0.1",
"version": "4.0.2",
"description": "Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/nfriedly/express-rate-limit",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc