node-serialport lets JavaScript and TypeScript talk to hardware over serial ports on Linux, macOS, and Windows. It targets robots, IoT gadgets, and desktop tools that need USB serial links.
Overview
Node Serialport is a monorepo of packages centered on the serialport module for Node.js and Electron. Applications open ports, read and write byte streams, and build higher-level protocols on top of standard serial hardware.
Documentation and API references live on the project site, with guides for newcomers and deeper notes for contributors. Packages are MIT licensed, and the community follows the Nodebots Code of Conduct.
Maintainers describe use in consumer devices, industrial sensors, drones, ATMs, and medical equipment. Electron support is highlighted as a path from prototype to production desktop apps that still need direct serial access.
Development happens in the open with maintainers, committers, and community contributors reviewing pull requests.
Key features
- Serial read and write from Node.js
- Linux, macOS, and Windows support
- Electron-compatible workflows
- Promise-oriented package APIs
- Guides for hardware and NodeBots
- MIT licensed package family
Use cases
- Arduino and microcontroller bridging
- Industrial sensor data collection
- Electron apps with USB serial devices