filter-by-ip
v0.4.0
Published
Connect middleware for IP Filtering
Downloads
10
Maintainers
Readme
Filter by IP
Connect middleware for IP Filtering
Installation
first:
npm install filter-by-ip
then:
npm install filter-by-ip-file
or:
npm install filter-by-ip-mongo
(or any other config provider)
Usage
require('http').createServer(
require('connect')()
.use(require('filter-by-ip')('filter-by-ip-file'))
.use(function(req, res){
res.end('hello world\n');
})
).listen(3000);
More Information
See Config