node-serialport-bindings-cpp/packages/binding-abstract
2020-08-07 21:11:09 -04:00
..
lib chore: change bindings constructor option to be optional (#1987) 2019-11-09 23:37:56 -05:00
.npmignore fix: npmignore should ignore .DS_Store files (#1954) 2019-10-03 20:37:13 -04:00
CHANGELOG.md v9.0.0 2020-05-10 01:21:17 -04:00
package-lock.json chore: update package-lock.jsons even though we don’t really use them (#2123) 2020-08-07 21:11:09 -04:00
package.json v9.0.0 2020-05-10 01:21:17 -04:00
README.md chore: split out more packages (#1611) 2018-08-25 09:31:34 -07:00

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