1.1.2 • Published 6 years ago

@dealerslink/node-express-ip-blacklist v1.1.2

Weekly downloads
-
License
-
Repository
-
Last release
6 years ago

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.