import { MockBinding } from '@serialport/binding-mock'
const MockBinding = new MockBinding()
MockBinding.createPort('/dev/fakePort', { echo: true })
await MockBinding.write(Buffer.from('data')))
forked from serialport/binding-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
The mock serialport bindings
License
mishase/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
Releases
No releases published
Packages 0
No packages published
Languages
- TypeScript 92.7%
- JavaScript 7.3%