extension-port-stream
v4.2.0
Published
A module for creating a node style stream over a WebExtension port object.
Downloads
841,511
Readme
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