forwarded-for : Abstraction for retrieving ip address information from a Node.js connection. Searches for proxy headers before degrading req.address. You can installing forwarded-for npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install forwarded-for $ sudo npm install -g forwarded-for
If want to update the forwarded-for package execute the command as below,
$ sudo npm update forwarded-for
Update package globally,
$ npm install -g forwarded-for
$ sudo git clone https://github.com/rektide/forwarded-for.git
$ sudo npm install -g ./forwarded-for
forwarded-for@1.0.1 /usr/lib/node_modules/forwarded-for
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall forwarded-for
Package Name | forwarded-for |
Version | 1.0.1 |
Description | Abstraction for retrieving ip address information from a Node.js connection. Searches for proxy headers before degrading req.address |
Released Date | 2016-03-26T13:59:14.958Z |
Published by | lpinca |
How to Learn | https://www.npmjs.com/package/forwarded-for/tutorial |