2.0.6 • Published 5 years ago

@palettegear/serialport-stream v2.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@serialport/Stream

The serialport stream interface. This package requires bindings to work.

You'd use this if you want to keep your package size down by requiring only the parts of serialport that you want to use. It is used internally in the serialport package.

This is how you use it.

const SerialPort = require('@serialport/stream')
const Binding = require('@serialport/bindings')
SerialPort.Binding = Binding
const port = new Serialport('/dev/ttyay')