serialport

Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them! (by serialport)

Serialport Alternatives

Similar projects and alternatives to serialport

  1. Electron

    :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.

    SurveyJS logo
  3. electron-react-boilerplate

    A Foundation for Scalable Cross-Platform Apps

  4. zwave-js

    32 serialport VS zwave-js

    Modern and standards-compliant Z-Wave device driver that runs almost anywhere

  5. usb

    4 serialport VS usb

    Improved USB library for Node.js

  6. johnny-five

    23 serialport VS johnny-five

    JavaScript Robotics and IoT programming framework, developed at Bocoup.

  7. pigpio

    1 serialport VS pigpio

    Fast GPIO, PWM, servo control, state change notification and interrupt handling with Node.js on the Raspberry Pi (by fivdi)

  8. i2c-bus

    1 serialport VS i2c-bus

    I2C serial bus access with Node.js

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. cylon.js

    3 serialport VS cylon.js

    JavaScript framework for robotics, drones, and the Internet of Things (IoT)

  11. spi-device

    SPI serial bus access with Node.js

  12. node-modbus-serial

    A pure JavaScript implemetation of MODBUS-RTU (and TCP) for NodeJS

  13. onoff

    1 serialport VS onoff

    GPIO access and interrupt detection with Node.js

  14. pc-nrf-dfu-js

    Discontinued Javascript implementation of Nordic's DFU protocol over serial (or NoBLE).

  15. pc-nrfjprog-js

    Discontinued Node.js library that exposes the functionality of the nRF Command Line Tools

  16. node-opcua

    0 serialport VS node-opcua

    Unlocking the Full Potential of OPC UA with Typescript and NodeJS - http://node-opcua.github.io/

  17. pc-nrfconnect-launcher

    nRF Connect for Desktop application and framework

  18. native-addon-loader

    Webpack .node file loader

  19. node-rpio

    Raspberry Pi GPIO library for node.js

  20. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better serialport alternative or higher similarity.

serialport discussion

Log in or Post with

serialport reviews and mentions

Posts with mentions or reviews of serialport. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-11.
  • node-red: the node-serialport does not work on Termux
    1 project | /r/termux | 9 Apr 2023
    Everything works very well, except for one detail: the node-serialport doesn't work in Android+Termux environment. You can't use RS232, MODBUS, RS422, or RS485 !!! See here the open issue,
  • Using usb-detection with electron v4 on intel mac
    3 projects | /r/electronjs | 11 Mar 2023
    Strangely enough it does package fine with electron-builder but does not work in dev mode. The same happens when I try to use https://serialport.io/ which is also another module where you could achieve device detection.
  • Trying to get access to the USB device in Electron app
    4 projects | /r/electronjs | 11 Feb 2023
    We use node-serialport instead of the WebSerial API, since it was only recently that Electron supported WebSerial permission overrides to make things like a 'devices screen' viable. The WebBluetooth APIs are still in a situation where you have to do polling shenanigans to get a full device list. I've found the mutated permissions system leaves a lot to be desired when debugging, whereas the NAPI modules are a lot more straightforward.
  • I've been streaming hardware driver development using node. If you've ever wondered what's involved when talking to hardware, but were put off by needing to know C or kernel internals, you might enjoy this
    2 projects | /r/javascript | 31 Jan 2022
    It really depends. The stuff I'm doing in this video for example is writing a driver stack for a device called the Bus Pirate. Communication is done over serial (which is easy in node with the serialport library). The bus pirate is a device that allows you to talk to other devices over different protocols, including SPI, I2C, and OneWire (as well as bit banging, where you control some electrical signals directly any way you want using software). So while it's not something you'd do directly in production, you can actually test communication with devices in JS in a fast, iterative, interactive way without having to use a microcontroller. You can actually figure out all of your design decisions there and port your code to the microcontroller later if you're building some kind of embedded system device, potentially saving a lot of time and debugging.
  • Lychee never loads
    2 projects | /r/LycheeSlicer | 30 Dec 2021
    Turns out, there is: https://github.com/serialport/node-serialport/issues/2259
  • Electron to native hardware
    7 projects | /r/electronjs | 17 Mar 2021
    We use node-serialport for USB serial communications. It's included in the transport manager renderer process. The installation guide and docs should be good enough to get you started. Hopefully serialport has prebuilds for the combination of system and electron version you're trying. We had to setup an internal prebuilds system and CDN for our app since we'd often find ourselves ahead of the prebuilt versions for node-serialport. Alternatively you can build from source.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 19 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Stats

Basic serialport repo stats
6
5,922
9.2
3 days ago

serialport/node-serialport is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of serialport is TypeScript.


Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?