serialport : Node.js package to access serial ports. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!. You can installing serialport 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 serialport $ sudo npm install -g serialport
If want to update the serialport package execute the command as below,
$ sudo npm update serialport
Update package globally,
$ npm install -g serialport
$ sudo git clone https://github.com/rektide/serialport.git
$ sudo npm install -g ./serialport
serialport@6.0.4 /usr/lib/node_modules/serialport
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall serialport
| Package Name | serialport |
| Version | 6.0.4 |
| Description | Node.js package to access serial ports. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them! |
| Released Date | 2017-10-26T03:05:29.043Z |
| Published by | reconbot |
| How to Learn | https://www.npmjs.com/package/serialport/tutorial |