Socket
Socket
Sign inDemoInstall

extension-port-stream

Package Overview
Dependencies
2
Maintainers
12
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

extension-port-stream


Version published
Maintainers
12
Install size
914 kB
Created

Changelog

Source

[3.0.0]

Changed

  • BREAKING: Use portable readable-stream@^3.6.2 instead of native streams (#51)

Readme

Source

Extension Port Stream

A module for creating a Node-style stream over a WebExtension Runtime.Port object.

Usage

import PortStream from 'extension-port-stream'

extension.runtime.onConnect.addListener(connectRemote)
const portStream = new PortStream(remotePort)

// Enjoy!

Running tests

yarn test

Keywords

FAQs

Last updated on 27 Oct 2023

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc