What is serialport?
"Node.js package to access serial ports. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!"
serialport is used to facilitate high-performance Node.js workflows. It provides a slim footprint of 12.0 KB on disk.
Installation Guide
# Install via NPM
npm install serialport
# Install via Yarn
yarn add serialport