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.
louisafriederike b00d9f80ed copying eixogen 7 months ago
..
dist copying eixogen 7 months ago
.releaserc copying eixogen 7 months ago
LICENSE copying eixogen 7 months ago
README.md copying eixogen 7 months ago
package.json copying eixogen 7 months ago

README.md

@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')))