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 2.6.0 to 2.7.0

1

lib/express-rate-limit.js

@@ -64,2 +64,3 @@ 'use strict';

limit: options.max,
current: current,
remaining: Math.max(options.max - current, 0)

@@ -66,0 +67,0 @@ };

4

package.json
{
"name": "express-rate-limit",
"version": "2.6.0",
"version": "2.7.0",
"description": "Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.",

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

"load-grunt-tasks": "^3.5.0",
"supertest": "^2.0.0",
"supertest": "^3.0.0",
"time-grunt": "^1.3.0"

@@ -50,0 +50,0 @@ },

@@ -83,2 +83,4 @@ # Express Rate Limit

A `req.rateLimit` property is added to all requests with the `limit`, `current`, and `remaining` number of requests for usage in your application code.
## Configuration

@@ -85,0 +87,0 @@

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