node-serialport-bindings-cpp/packages/binding-abstract
2018-09-15 05:44:01 -04:00
..
.npmignore chore: split out more packages (#1611) 2018-08-25 09:31:34 -07:00
binding-abstract.js docs: Bindings now have docs (#1665) 2018-09-15 05:44:01 -04:00
binding-abstract.test.js chore: use Prettier for formatting (#1635) 2018-08-25 19:05:56 -07:00
CHANGELOG.md Publish 2018-08-28 23:28:55 -04:00
package.json docs: Bindings now have docs (#1665) 2018-09-15 05:44:01 -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)
  }
}