This is the code that should turn a servo to the 180° state:
const SerialPort = require(\'serialport\') const Readline = require(\'@serialport/parser-readline\')