How to use the simple-peer.default function in simple-peer

To help you get started, we’ve selected a few simple-peer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bengreenier / browserd / src / index.ts View on Github external
export const createPeer = (opts?: SimplePeer.Options) => {
    return new SimplePeer(opts);
};

simple-peer

Simple one-to-one WebRTC video/voice and data channels

MIT
Latest version published 3 years ago

Package Health Score

62 / 100
Full package analysis