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

How to Install ip-regex software package in NPM Packages

ip-regex : Regular expression for matching IP addresses (IPv4 & IPv6). You can installing ip-regex 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 ip-regex
$ sudo npm install -g ip-regex

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

$ sudo npm update ip-regex

Update package globally,

$ npm install -g ip-regex

Git clone:

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

ip-regex@2.1.0 /usr/lib/node_modules/ip-regex

How to remove ip-regex package :

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

$ sudo npm uninstall ip-regex

Basic Information of ip-regex NPM Package:

Package Name ip-regex
Version 2.1.0
Description Regular expression for matching IP addresses (IPv4 & IPv6)
Released Date 2017-03-11T09:56:09.108Z
Published by sindresorhus
How to Learn https://www.npmjs.com/package/ip-regex/tutorial