# feross/simple-peer

📡 Simple WebRTC video, voice, and data channels

Repository: https://github.com/feross/simple-peer
Canonical: https://ross.abutalabs.com/products/simple-peer
Language: JavaScript
License: MIT
License Family: permissive
Topics: webrtc, p2p, nodejs, browser, data-channels, peer-connection, javascript
Last push: 2024-06-26T14:45:57+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4451, "days_push": 798, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7803, forks 981 (observed 2026-08-28T04:10:05.122069+00:00)

## What it is
A JavaScript library providing a simple, node.js-style API for WebRTC peer-to-peer video, voice, and data channels. It works in both the browser and Node.js and is used by projects like WebTorrent.

## Use cases
- build peer-to-peer video calls in the browser
- send data between two browsers without a server
- create a WebRTC data channel with a stream interface
- add voice chat to a web app
- stream video between peers in node and browser

## When to choose
- you want a minimal, promise-free, node-style wrapper around raw WebRTC APIs
- you need one-to-one peer connections for video, voice, or data
- you want the same code to run in Node.js and the browser

## When to avoid
- you need multi-party mesh or SFU-based conferencing out of the box
- you need a full signaling server solution included
- you need a library with frequent recent releases and active development

## Facets
- artifact type: library
- maturity: maintenance
- function: websocket, p2p, http-client
- domain: web-development, networking
- platform: browser
- tags: webrtc, peer-to-peer, data-channels, video-calling, voice, duplex-stream, real-time-communication, real-time, nodejs, javascript

## Member repositories
- feross/simple-peer (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:05.122069+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:34:38.023116+00:00, confidence not recorded.
  - readme: https://github.com/feross/simple-peer (fetched 2026-08-28T04:10:05.122069+00:00, sha 30306b6283a6)
  - registry_npm: https://registry.npmjs.org/simple-peer (fetched 2026-08-29T08:31:09.445507+00:00, sha a0cc8636e8f2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
