Node -serialport O / S requirements

I need to be able to read the serial port from my JS code. I recently came across this component https://github.com/voodootikigod/node-serialport

What are the requirements for an O / S client computer?

To install it, all he says is

 npm install serialport

What is it? Where should this command be run? More details will be appreciated.

thank

+3
source share
1 answer

The module you pointed to is for node.js event-driven Javascript application server. The emphasis here is that node.js is server-side, not what runs in the browser.

npm, node.js. , .

, Javascript, ++, , , .

, ++. , , Windows.

, , . , Unixish (Linux, BSD, Solaris, OS X ..), , Mac ), , Windows COM1 .

, , , Unix, Windows.

+2

All Articles