title: how to communicate through serial port on client side using javascript?
body: <p>Recently received a request to add communication to a device connected via serialport on the client's machine through my webpage.</p>
  
  <p>I'd done some googling and found that node.js with node-serialport seems to be the javascript way of doing it. However, in my case, the device is actually connected to the client's machine, and not the server.</p>
  
  <p>My question would be how do i implement node.js in this sense? Since the code is run at the client browser, is it possible for me to 'embed' node.js on my webpage?</p>
  
  <p>Or is there any other alternative for doing this? Applet and ActiveX are out of the picture though.</p>
  
  <p>Thanks</p>
  
  <p><strong>UPDATES:</strong>
  Had managed to convince the client to have applet loaded from the web, so we'll be going through the applet route. Thanks all for your great info! =)</p>