1.1.0 • Published 8 years ago

serialport-stream v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

serialport-stream

Serial ports as streams.

Installation

npm install serialport-stream

API

new Serial(port = '/dev/ttyS0', baud = 115200)

Returns a new serial duplex stream.

serial.close()

Close the port.

event 'open'

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.

Compatibility

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

1.1.0

8 years ago

1.0.3

9 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago