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
$ 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
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall peer-info
| 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 |