PeerJS
WebRTC abstraction layer simplifying peer-to-peer data and media connections.
3. Used by agents' projects
Dependency in 1 public GitHub projects set up for AI coding agents that we scanned (0.0%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What PeerJS does
WebRTC abstraction layer simplifying peer-to-peer data and media connections.
PeerJS popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How PeerJS is used
- PeerJS joined the catalog on its public numbers (129,268 downloads a week on npm and 13,522 GitHub stars), not on our project count: it is a dependency in 5 public GitHub projects of our scan, 1 of them set up for AI coding agents.
- The most used alternative in our scan is Socket.IO Client (69 projects).
- Projects that use it most often also use Vite (80.0%), TypeScript (100.0%), Sharp (40.0%).
Often used with
More about PeerJS
Funding
- GitHub Sponsors: https://github.com/peers
- Open Collective: https://opencollective.com/peer
More in HTTP clients and networking
Alternatives
PeerJS This page
Real-time bidirectional communication library for JavaScript with fallbacks.
Real-time bidirectional communication library for Node.js with fallback transports.
JavaScript library for real-time messaging and WebSocket communication.
Get started
Install it.
npm install peerjsNo step-by-step start for PeerJS yet: we have not written its hand-checked card.