pi-gpio : A simple node.js-based GPIO helper for the Raspberry Pi. You can installing pi-gpio 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 pi-gpio $ sudo npm install -g pi-gpio
If want to update the pi-gpio package execute the command as below,
$ sudo npm update pi-gpio
Update package globally,
$ npm install -g pi-gpio
$ sudo git clone https://github.com/rektide/pi-gpio.git
$ sudo npm install -g ./pi-gpio
pi-gpio@0.0.8 /usr/lib/node_modules/pi-gpio
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall pi-gpio
| Package Name | pi-gpio |
| Version | 0.0.8 |
| Description | A simple node.js-based GPIO helper for the Raspberry Pi |
| Released Date | 2015-10-01T04:20:59.680Z |
| Published by | rakeshpai |
| How to Learn | https://www.npmjs.com/package/pi-gpio/tutorial |