is-ip : Check if a string is an IP address. You can installing is-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 is-ip $ sudo npm install -g is-ip
If want to update the is-ip package execute the command as below,
$ sudo npm update is-ip
Update package globally,
$ npm install -g is-ip
$ sudo git clone https://github.com/rektide/is-ip.git
$ sudo npm install -g ./is-ip
is-ip@2.0.0 /usr/lib/node_modules/is-ip
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall is-ip
Package Name | is-ip |
Version | 2.0.0 |
Description | Check if a string is an IP address |
Released Date | 2017-01-09T09:16:24.296Z |
Published by | sindresorhus |
How to Learn | https://www.npmjs.com/package/is-ip/tutorial |