Middleware for appending
req.ipto HTTP requests with support for reverse proxies
$ npm install --save req-ip
var ReqIp =var reqIp =
Returns a middleware function that applies
req.ip and then calls back.
A header name to use to set the IP address. When no matching header is found,
req.connection.remoteAddress is used instead.
MIT © Ben Drucker