Socket
Socket
Sign inDemoInstall

@serialport/stream

Package Overview
Dependencies
2
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @serialport/stream

The serialport stream interface. This package requires bindings to work.


Version published
Weekly downloads
61K
decreased by-1.65%
Maintainers
2
Install size
76.4 kB
Created
Weekly downloads
 

Changelog

Source

8.0.6 (2019-12-25)

Bug Fixes

  • bindings.close() should cause a canceled read error (#1972) (50f967e)
  • No prebuilt binaries found with electron-builder (#2003) (16f9662)
  • stream required bindings-mock as a dep (#1970) (e978b7e)
  • upgrade npm on GitHub actions to fix bug (#1973) (d500a5b)

Readme

Source

@serialport/Stream

The serialport stream interface. This package requires bindings to work.

You'd use this if you want to keep your package size down by requiring only the parts of serialport that you want to use. It is used internally in the serialport package.

This is how you use it.


const SerialPort = require('@serialport/stream')
const Binding = require('@serialport/bindings')
SerialPort.Binding = Binding
const port = new Serialport('/dev/ttyay')

Learn more at our stream documentation page.

FAQs

Last updated on 25 Dec 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc