awesome-repositories.com分类博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
serialport avatar

serialport/node-serialport

0
View on GitHub↗
5,986 星标·1,012 分支·TypeScript·MIT·17 次浏览serialport.io↗

Node Serialport

Node-Serialport is a Node.js library that provides cross-platform serial port access for JavaScript applications. It wraps native serial port operations into a stream-based abstraction, enabling consistent read and write behavior across Linux, macOS, and Windows without requiring platform-specific code.

The library includes a mock serial port implementation that uses in-memory streams for testing code without physical hardware, and a parser stream pipeline that transforms raw binary data into structured messages using delimiters, line endings, or fixed byte lengths. It also provides command-line utilities for enumerating available serial ports and opening interactive terminal or REPL sessions for real-time device communication.

The project supports serial data reading and writing through a Node.js stream interface, event-driven data flow for asynchronous communication, and platform-native C++ bindings that interface with operating system serial port APIs. It enables JavaScript-to-firmware bridging for controlling microcontrollers like Arduinos, and integrates with desktop applications through Electron for hardware communication in consumer and commercial devices.

Features

  • Node.js Serial Port Libraries - The definitive Node.js library for reading and writing data over serial ports across platforms.
  • Serial Port Communication - Accesses serial ports consistently across Linux, macOS, and Windows for hardware communication.
  • Serial Device Communication - Enables bidirectional data exchange with hardware devices via serial port streams.
  • Serial Port Cross-Platform Access - Provides consistent serial port access across Linux, macOS, and Windows without platform-specific code.
  • Mock Serial Port Testing - Tests serial port code by simulating hardware with a mock binding, removing the need for physical devices.
  • Firmware Control Bridges - Bridges JavaScript with microcontroller firmware for controlling devices like Arduinos and drones.
  • Serial Port - Implements platform-native C++ bindings to interface with operating system serial port APIs.
  • Serial Port Event Emitters - Provides event-driven data flow for asynchronous serial communication in Node.js.
  • Serial Message Parsers - Transforms raw binary data from a serial port into structured messages using configurable parsers.
  • Serial Data Parsers - Chains transform streams to parse raw binary serial data into structured messages.
  • Port Enumeration - Discovers available serial ports by querying OS-specific device lists through a unified API.
  • Interactive Terminals - Provides a command-line terminal for sending and receiving data interactively over a serial port.
  • Desktop Application Integrations - Integrates serial port communication into Electron desktop applications for hardware control.
  • JavaScript Firmware Bridges - Bridges JavaScript code with microcontroller firmware to control devices like Arduinos and drones.
  • Serial Stream Parsers - Provides a parser stream pipeline for converting raw serial bytes into structured messages.
  • Serial Stream Parsers - Applies a transform stream to split raw serial bytes into structured messages using delimiters, lengths, or timeouts.
  • Mock Serial Ports - Provides a virtual serial port using in-memory streams for testing without physical hardware.
  • Serial Port Listings - Lists all serial ports detected on the system, showing their paths and identifiers for selection.
  • Serial Port Terminal Utilities - Ships command-line utilities for enumerating ports and opening interactive serial terminal sessions.
  • Serial Port Mocks - Uses a mock binding to simulate serial port communication for automated testing without real hardware.
  • Hardware Interaction - Library for accessing serial ports.

Star 历史

serialport/node-serialport 的 Star 历史图表serialport/node-serialport 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Node Serialport 的开源替代方案

相似的开源项目,按与 Node Serialport 的功能重合度排序。
  • voodootikigod/node-serialportvoodootikigod 的头像

    voodootikigod/node-serialport

    5,987在 GitHub 上查看↗

    This project is a Node.js serial port library that provides a JavaScript interface for reading and writing data to hardware serial ports. It functions as a low-level driver and hardware communication library designed to exchange data streams between a computer and external hardware devices. The library supports cross-platform serial communication on Linux, macOS, and Windows. It enables the establishment of data connections between high-level applications and embedded controllers, microcontrollers, or other hardware devices. The capability surface covers hardware integration for robotics con

    TypeScript
    在 GitHub 上查看↗5,987
  • termoradev/termoraTermoraDev 的头像

    TermoraDev/termora

    3,689在 GitHub 上查看↗

    Termora is a cross-platform SSH client, terminal emulator, and serial communication tool. It provides a unified interface for managing local shell sessions, secure remote server connections, and direct hardware communication through serial port protocols. The project distinguishes itself by combining diverse remote access tools into one environment, including a VNC remote desktop client, an SFTP file transfer client, and a proxy tool for SSH tunneling and port forwarding. It further supports network hardware management through vendor-specific terminal emulation to ensure compatibility with va

    Kotlin
    在 GitHub 上查看↗3,689
  • pyserial/pyserialpyserial 的头像

    pyserial/pyserial

    3,507在 GitHub 上查看↗

    pyserial is a cross-platform Python library for reading and writing binary data to serial ports and hardware devices. It provides a serial port enumeration tool for identifying available hardware and retrieving device path metadata. The project includes a network implementation for controlling remote serial port functions and signal lines over TCP/IP via the RFC 2217 standard. It also features a serial-to-TCP bridge for forwarding raw data between local ports and network sockets, as well as a specialized interface for managing half-duplex RS485 communication and RTS toggling. The library cov

    Pythonpythonserial
    在 GitHub 上查看↗3,507
  • tio/tiotio 的头像

    tio/tio

    2,806在 GitHub 上查看↗

    tio is a simple serial device terminal application that provides a straightforward way to connect to and interact with TTY devices over a serial link. It focuses on enabling direct, interactive input and output with serial hardware through a command-line interface.

    Cautomationclicommand-line
    在 GitHub 上查看↗2,806
查看 Node Serialport 的所有 30 个替代方案→

常见问题解答

serialport/node-serialport 是做什么的?

Node-Serialport is a Node.js library that provides cross-platform serial port access for JavaScript applications. It wraps native serial port operations into a stream-based abstraction, enabling consistent read and write behavior across Linux, macOS, and Windows without requiring platform-specific code.

serialport/node-serialport 的主要功能有哪些?

serialport/node-serialport 的主要功能包括:Node.js Serial Port Libraries, Serial Port Communication, Serial Device Communication, Serial Port Cross-Platform Access, Mock Serial Port Testing, Firmware Control Bridges, Serial Port, Serial Port Event Emitters。

serialport/node-serialport 有哪些开源替代品?

serialport/node-serialport 的开源替代品包括: voodootikigod/node-serialport — This project is a Node.js serial port library that provides a JavaScript interface for reading and writing data to… termoradev/termora — Termora is a cross-platform SSH client, terminal emulator, and serial communication tool. It provides a unified… pyserial/pyserial — pyserial is a cross-platform Python library for reading and writing binary data to serial ports and hardware devices.… tio/tio — tio is a simple serial device terminal application that provides a straightforward way to connect to and interact with… peng-zhihui/electronbot — ElectronBot is a robotic system comprising custom PCB designs, an embedded circular display driver, an I2C servo… serial-studio/serial-studio — Serial Studio is a desktop application for connecting to, decoding, visualizing, and recording data from hardware…