simple-peer
Simple WebRTC video, voice, and data channels for Node.js and the browser.
Why consider simple-peer?
simple-peer is an open-source, concise WebRTC wrapper for JavaScript written by Feross Aboukhadijeh. simple-peer abstracts ICE negotiation, STUN/TURN traversal, and media stream bindings, enabling instant peer-to-peer customer video calls, screen sharing, and direct data transfer.
Learn simple-peer by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of simple-peer
simple-peer powers direct peer-to-peer audio, video, and customer support screen sharing.
Quickstart
npm install simple-peerimport Peer from 'simple-peer';const peer = new Peer({ initiator: location.hash === '#1', trickle: false });peer.on('signal', data => console.log('SIGNAL', JSON.stringify(data)));peer.on('data', data => console.log('data: ' + data));simple-peer is licensed under the permissive MIT License.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.