peer-id : IPFS Peer Id implementation in Node.js. You can installing peer-id 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-id $ sudo npm install -g peer-id
If want to update the peer-id package execute the command as below,
$ sudo npm update peer-id
Update package globally,
$ npm install -g peer-id
$ sudo git clone https://github.com/rektide/peer-id.git
$ sudo npm install -g ./peer-id
peer-id@0.10.2 /usr/lib/node_modules/peer-id
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall peer-id
| Package Name | peer-id |
| Version | 0.10.2 |
| Description | IPFS Peer Id implementation in Node.js |
| Released Date | 2017-10-12T08:22:00.828Z |
| Published by | daviddias |
| How to Learn | https://www.npmjs.com/package/peer-id/tutorial |