You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

234 B

@serialport/binding-mock

import { MockBinding } from '@serialport/binding-mock'
const MockBinding = new MockBinding()

MockBinding.createPort('/dev/fakePort', { echo: true })
await MockBinding.write(Buffer.from('data')))