@dealerslink/node-express-ip-blacklist

A cache-based, IP blacklist for ExpressJS.

Stats

StarsIssuesVersionUpdatedCreatedSize
@dealerslink/node-express-ip-blacklist
1.1.23 years ago4 years agoMinified + gzip package size for @dealerslink/node-express-ip-blacklist in KB

Readme

node-express-ip-blacklist

node-express-ip-blacklist is a cache-based, automatic, IP blacklist for use with expressJS. It caches a store of IP addresses used to make bad requests and then temporarily blocks requests from those sources once a threshold of bad requests has been exceeded. In this way it is possible to limit access of bad actors to any system.

Installation

npm install @dealerslink/node-express-ip-blacklist

Usage

const IPBlacklist = require('@dealerslink/node-express-ip-blacklist');
ipBlacklist = new IPBlacklist('blacklist');

See wiki for more details.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.