Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const SerialPort = require('@serialport/stream')
const Binding = require('@serialport/bindings')
const parsers = require('./parsers')
/**
* @type {AbstractBinding}
*/
SerialPort.Binding = Binding
/**
* @type {Parsers}
*/
SerialPort.parsers = parsers
module.exports = SerialPort