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

How to Install public-ip software package in NPM Packages

public-ip : Get your public IP address - very fast!. You can installing public-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 public-ip
$ sudo npm install -g public-ip

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

$ sudo npm update public-ip

Update package globally,

$ npm install -g public-ip

Git clone:

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

public-ip@2.3.5 /usr/lib/node_modules/public-ip

How to remove public-ip package :

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

$ sudo npm uninstall public-ip

Basic Information of public-ip NPM Package:

Package Name public-ip
Version 2.3.5
Description Get your public IP address - very fast!
Released Date 2017-05-17T08:20:28.397Z
Published by silverwind
How to Learn https://www.npmjs.com/package/public-ip/tutorial