Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

serial-websocket

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serial-websocket

Connects serial port to websocket

  • 1.0.9
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

serial-websocket

A bidirectional websocket to serial port server bridge. It can be used to send/receive commands into an Arduino or Raspberry Pi board through web.

  • Receives data from websocket and sends it into the serial port
  • Receives data from the serial port and sends it into the websocket
  • Supports multiple websocket connections
  • Arduino serial connection and Angular client example are provided

NPM NPM Downloads

Screenshot

Installation

npm install serial-websocket --save

Usage

let options = {
  serialPortName: "/dev/cu.usbmodem142301",
  serialPortNameRate: 9600,
  webSocketPortNumber: 8081
};

const serial_websocket = require("serial-websocket")(options);
serial_websocket.start();

Angular Client

An Angular client and Arduino demo code is provided here.

Logger

The logger used in this package is available separately in log-with-statusbar npm package

Keywords

FAQs

Package last updated on 23 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc