How to Install ipaddr.js NPM Packages on Ubuntu / Debian

How to Install ipaddr.js software package in NPM Packages

ipaddr.js : A library for manipulating IPv4 and IPv6 addresses in JavaScript.. You can installing ipaddr.js 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 ipaddr.js
$ sudo npm install -g ipaddr.js

If want to update the ipaddr.js package execute the command as below,

$ sudo npm update ipaddr.js

Update package globally,

$ npm install -g ipaddr.js

Git clone:

$ sudo  git clone https://github.com/rektide/ipaddr.js.git
$ sudo  npm install -g ./ipaddr.js

ipaddr.js@1.5.4 /usr/lib/node_modules/ipaddr.js

How to remove ipaddr.js package :

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

$ sudo npm uninstall ipaddr.js

Basic Information of ipaddr.js NPM Package:

Package Name ipaddr.js
Version 1.5.4
Description A library for manipulating IPv4 and IPv6 addresses in JavaScript.
Released Date 2017-10-17T07:27:07.211Z
Published by whitequark
How to Learn https://www.npmjs.com/package/ipaddr.js/tutorial