Socket
Socket
Sign inDemoInstall

extension-port-stream

Package Overview
Dependencies
Maintainers
9
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extension-port-stream

A module for creating a node style stream over a WebExtension port object.


Version published
Weekly downloads
148K
decreased by-15.61%
Maintainers
9
Weekly downloads
 
Created
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

Package last updated on 19 Jun 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
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc