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
-
-
Notifications
You must be signed in to change notification settings - Fork 5
The mock serialport bindings
License
serialport/binding-mock
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