import { MockBinding } from '@serialport/binding-mock'
const MockBinding = new MockBinding()
MockBinding.createPort('/dev/fakePort', { echo: true })
await MockBinding.write(Buffer.from('data')))
generated from reconbot/typescript-library-template
The mock serialport bindings
License
serialport/binding-mock
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
The mock serialport bindings
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published