How to Install request-ip NPM Packages on Ubuntu / Debian

How to Install request-ip software package in NPM Packages

request-ip : A small node.js module to retrieve the requests IP address. You can installing request-ip 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 request-ip
$ sudo npm install -g request-ip

If want to update the request-ip package execute the command as below,

$ sudo npm update request-ip

Update package globally,

$ npm install -g request-ip

Git clone:

$ sudo  git clone https://github.com/rektide/request-ip.git
$ sudo  npm install -g ./request-ip

request-ip@2.0.2 /usr/lib/node_modules/request-ip

How to remove request-ip package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall request-ip

Basic Information of request-ip NPM Package:

Package Name request-ip
Version 2.0.2
Description A small node.js module to retrieve the requests IP address
Released Date 2017-06-26T18:30:33.609Z
Published by pbojinov
How to Learn https://www.npmjs.com/package/request-ip/tutorial