onoff : GPIO access and interrupt detection with Node.js. You can installing onoff 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 onoff $ sudo npm install -g onoff
If want to update the onoff package execute the command as below,
$ sudo npm update onoff
Update package globally,
$ npm install -g onoff
$ sudo git clone https://github.com/rektide/onoff.git
$ sudo npm install -g ./onoff
onoff@1.1.8 /usr/lib/node_modules/onoff
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall onoff
Package Name | onoff |
Version | 1.1.8 |
Description | GPIO access and interrupt detection with Node.js |
Released Date | 2017-10-15T06:33:31.638Z |
Published by | fivdi |
How to Learn | https://www.npmjs.com/package/onoff/tutorial |