|
|
hace 7 meses | |
|---|---|---|
| .. | ||
| dist | hace 7 meses | |
| .releaserc | hace 7 meses | |
| LICENSE | hace 7 meses | |
| README.md | hace 7 meses | |
| package.json | hace 7 meses | |
import { MockBinding } from '@serialport/binding-mock'
const MockBinding = new MockBinding()
MockBinding.createPort('/dev/fakePort', { echo: true })
await MockBinding.write(Buffer.from('data')))