@palettegear/serialport-binding-abstract

2.0.6 • Public • Published

@serialport/BindingAbstract

This Abstract binding class is the base for all serialport bindings. You wouldn't use this class directly but instead extend it to make a new binding for a different platform or underling technology.

This is currently used for the win32, linux, darwin and mock bindings.

This is how you use it.

class MockBinding extends AbstractBinding {
  constructor(opt) {
    super(opt)
  }
}

/@palettegear/serialport-binding-abstract/

    Package Sidebar

    Install

    npm i @palettegear/serialport-binding-abstract

    Weekly Downloads

    1

    Version

    2.0.6

    License

    MIT

    Unpacked Size

    12.2 kB

    Total Files

    5

    Last publish

    Collaborators

    • nfrasser