Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

PeerJS

WebRTC abstraction layer simplifying peer-to-peer data and media connections.

HTTP clients and networkingNPM

GitHubWebsite

1. License

License from npm.

github.com/peers/peerjs

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

41 / 100
Gid Score, #3031 overall
129K
downloads a week, npm
13.5K
GitHub stars
1
agent projects use it
PeerJS: downloads per weeknpm, peerjs 129,268
PeerJS: GitHub starspeers/peerjs 13,522

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

In 80.0% of its projects
In 100.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 40.0% of its projects

More about PeerJS

Funding
  • GitHub Sponsors: https://github.com/peers
  • Open Collective: https://opencollective.com/peer

See all

More in HTTP clients and networking

Alternatives

PeerJS This page

MITGid 41129K/wk

Socket.IO Client

Real-time bidirectional communication library for JavaScript with fallbacks.

MITGid 8022.3M/wk

Socket.IO

Real-time bidirectional communication library for Node.js with fallback transports.

MITGid 7926M/wk

Pusher Channels

JavaScript library for real-time messaging and WebSocket communication.

MITGid 544.7M/wk

Compare PeerJS with another tool

Get started

Install it.

npm install peerjs

No step-by-step start for PeerJS yet: we have not written its hand-checked card.