@libp2p/webrtc-peer
![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-webrtc-peer/test%20&%20maybe%20release/master?style=flat-square)
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) => {
})
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.