title: Sending bytes to serial port using Node.js
body: <p>I am planning to do a POC with serialport communication using Node.js. I googled and found the "serialport" module for Node.js. I have a C# code which writes the data to the serial port in <code>byte</code> datatype. I would like to try the same using Node.js. The C# code has the following values in the <code>byte[]</code> array:</p>
  
  <pre><code>5, 170, 85, 250, 0, 86, 0, 3, 158, 0
  </code></pre>
  
  <p>Could anyone please tell me how to achieve this using Node.js's serialport module?</p>