Socket
Socket
Sign inDemoInstall

@libp2p/webrtc-peer

Package Overview
Dependencies
10
Maintainers
4
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
Weekly downloads
2.1K
increased by6.38%
Maintainers
4
Created
Weekly downloads
 

Changelog

Source

1.0.3 (2022-03-19)

Bug Fixes

  • add protocol messages and trace logging (95847d1)

Readme

Source

js-libp2p-webrtc-peer

Coverage Status Build Status

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

Contribution

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 19 Mar 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