How to Install peer-info NPM Packages on Ubuntu / Debian

How to Install peer-info software package in NPM Packages

peer-info : IPFS Peer abstraction JavaScript implementation. You can installing peer-info 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 peer-info
$ sudo npm install -g peer-info

If want to update the peer-info package execute the command as below,

$ sudo npm update peer-info

Update package globally,

$ npm install -g peer-info

Git clone:

$ sudo  git clone https://github.com/rektide/peer-info.git
$ sudo  npm install -g ./peer-info

peer-info@0.11.1 /usr/lib/node_modules/peer-info

How to remove peer-info package :

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

$ sudo npm uninstall peer-info

Basic Information of peer-info NPM Package:

Package Name peer-info
Version 0.11.1
Description IPFS Peer abstraction JavaScript implementation
Released Date 2017-11-09T11:00:40.613Z
Published by daviddias
How to Learn https://www.npmjs.com/package/peer-info/tutorial