PeerJS
Simple peer-to-peer with WebRTC. observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 69
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5001
- days_rel: 452
- days_push: 188
- n_releases_24m: 1
Adoption not part of the score
13431 stars · 1462 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PeerJS is a JavaScript/TypeScript library that wraps WebRTC into a simple, event-driven peer-to-peer API for data channels and audio/video streams. It pairs with PeerServer, a Node.js signaling server that brokers connections between peers.
Use cases
- build a browser-based video chat with webrtc
- send files directly between two browsers p2p
- create a peer-to-peer multiplayer game state sync
- screen sharing between peers in the browser
- self-host a webrtc signaling server for peer connections
When to choose
- you want WebRTC peer connections without writing low-level WebRTC boilerplate
- you need both data channels and media streams in one API
- you want a self-hostable signaling server with Docker/Express support
When to avoid
- you need SFU-based multi-party conferencing at scale rather than direct peer connections
- your app is server-centric and a plain WebSocket backend suffices
- you need non-JavaScript environments; the client targets browsers and JS runtimes
Facets
library · maturity active
p2p websocket rpc web-development networking browser bun webrtc signaling-server peerjs-server video-calls data-channels nodejs deno typescript
5 sources
- readme: https://github.com/peers/peerjs · fetched 2026-08-28 · 92cb9c81a83d
- homepage: https://peerjs.com · fetched 2026-08-29 · 090f8c4399de
- site_page: https://peerjs.com/server/getting-started · fetched 2026-08-29 · 46f10f0126a3
- site_page: https://peerjs.com/client/getting-started · fetched 2026-08-29 · 207b3b69298b
- registry_npm: https://registry.npmjs.org/peerjs · fetched 2026-08-29 · 1a3427b93618
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| peers/peerjs | main | 54 |
| peers/peerjs-server | backend | 54 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem