@serialpilot/repl
v1.0.1
Published
A scriptable Node REPL bound to a serial port. Includes the `serialpilot-repl` CLI.
Maintainers
Readme
Scriptable Node REPL with SerialPilot and SerialPilotMock already in scope — the fastest way to poke at a device interactively.
Install
npm install -g @serialpilot/replUsage
serialpilot-repl> port = new SerialPilot({ path: '/dev/tty.usbmodem1421', baudRate: 9600 })
> port.on('data', console.log)
> port.write('PING\n')Set DEBUG=serialpilot* for per-binding tracing. The REPL honours NODE_OPTIONS, so --inspect works.
