serial-port
serial-port is simple library for operating with serial ports on different platforms. At the moment Windows and GNU/Linux tested only.

Features

  • Serial port enumerating
  • Synchronized blocking IO
  • Checking available baud rates
  • Timeout handling

Installing

With dub, add this to package.json:
"dependencies": {
    "serial-port" : "1.0.0"
}
To compile integration test:
dub build --build=unittest --config=unittest
./serial-port

TODO

  • aschynchronous IO;
  • more tweaks for com ports;