Description
Node SerialPort lets you access serial ports from JavaScript on Linux, macOS and Windows, so you can talk to serial devices such as microcontrollers, sensors and robots. The site says SerialPort is the bridge between JavaScript and the firmware on devices from Arduinos to drones, and it is widely used in NodeBots projects. It is also used in consumer devices, from IoT products to homebrew games, and when combined with Electron it gives a fast path from prototype to production. The site lists commercial uses in underwater sensors, drones, ATMs, forklift diagnostics and medical devices. The documentation covers the supported environments, installation, the upgrade guide, usage, Electron integration, debugging and testing. The project is split into core packages, such as serialport and the stream package, and parser packages, such as readline and delimiter parsers that turn the raw bytes into messages. The docs have versions from 7.x through 12.x and the source is on GitHub. It suits developers who want to write serial communication code in JavaScript.…
Highlights
- Serial ports on Linux, macOS and Windows
- Works with Arduinos, sensors and drones
- Parser packages for readline and delimiters
- Documentation for Electron and testing
Ratings & Reviews
No ratings yet
Be the first to rate Node Serialport.
People also visit
Node Serialport FAQ
What is SerialPort?
A library for accessing serial ports from JavaScript on Linux, macOS and Windows.
Is it free?
The project is open source and its source is on GitHub. The site does not list prices.
What devices can I talk to?
The site mentions Arduinos, drones and other firmware-driven devices, and consumer and commercial products.
Can I use it with Electron?
Yes. The docs have a section on using SerialPort with Electron.
What are parser packages?
Packages such as parser-readline and parser-delimiter that turn raw serial data into messages.
What are the best Node Serialport alternatives?
Popular alternatives to Node Serialport include Node Hid, Serial and NinjaTerm. See all Node Serialport alternatives



