@palettegear/serialport-stream

2.0.6 • Public • Published

@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')

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.6
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.6
    0

Package Sidebar

Install

npm i @palettegear/serialport-stream

Weekly Downloads

0

Version

2.0.6

License

MIT

Unpacked Size

28.8 kB

Total Files

5

Last publish

Collaborators

  • nfrasser