{"repo":"peers/peerjs","free":true,"listed":false,"github":"https://github.com/peers/peerjs","clone":"git clone https://github.com/peers/peerjs.git","description":"Simple peer-to-peer with WebRTC.","language":"TypeScript","stars":13426,"topics":["webrtc","dataconnection","p2p","typescript","parcel","browser","javascript"],"license":"MIT","category":"dev-tools","readme_excerpt":"PeerJS: Simple peer-to-peer with WebRTC PeerJS provides a complete, configurable, and easy-to-use peer-to-peer API built on top of WebRTC, supporting both data channels and media streams. Live Example Here's an example application that uses both media and data connections: https://glitch.com/ peerjs-video. The example also uses its own PeerServer. --- Special Announcement: We now have a Discord Channel There we plan to discuss roadmaps, feature requests, and more Join us today --- Setup Include the library with npm: npm install peerjs with yarn: yarn add peerjs Create a Peer Data connections Connect Receive Media calls Call Answer Running tests Browser support Firefox Chrome Edge Safari ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/peers","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/peers/peerjs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}