node package manager


serial ports as streams


Serial ports as streams.

npm install serialport-stream

Returns a new serial duplex stream.

Close the port.

Emitted when the port is opened. Unlike with node-serialport, you don't need to wait for this event to start reading or writing. Streams all the way.

This is currently implemented with a POSIX-only native binding. If you'd want to implement Windows compat, that'd rock.