Socket
Socket
Sign inDemoInstall

@libp2p/webrtc-peer

Package Overview
Dependencies
42
Maintainers
6
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/webrtc-peer

Simple one-to-one WebRTC data channels


Version published
Maintainers
6
Weekly downloads
1,816
decreased by-48.11%

Weekly downloads

Readme

Source

@libp2p/webrtc-peer

libp2p.io Discuss codecov CI

Simple one-to-one WebRTC data channels

Table of contents

Install

$ npm i @libp2p/webrtc-peer

Usage

import { WebRTCInitiator } from '@libp2p/webrtc-peer'

const channel = new WebRTCInitiator(channelOptions)
channel.addEventListener('signal', (signal) => {
  // do handshake
})

License

Licensed under either of

Contribute

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

FAQs

Last updated on 17 Oct 2022

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