Skip to content

mishase/binding-mock

 
 

Repository files navigation

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

About

The mock serialport bindings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.7%
  • JavaScript 7.3%