# peer-data-server

> PeerDataServer - socket signaling server for PeerData library

Latest version **1.0.11** (published 2026-11-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install peer-data-server
pnpm add peer-data-server
yarn add peer-data-server
bun add peer-data-server
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.0.11 |
| Published | 2026-11-19 |
| First published | 2017-07-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=5 |
| Dependencies | 0 |
| Unpacked size | 14.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Rafał Lorenz |
| Maintainers | vardius |
| Keywords | PeerDataServer, PeerData, WebRTC, signaling, signalling, cdn, web, rtc, video, player, html5, peer, socket, real, time, communication, socket, socket.io, server |

## Links

- npm: https://www.npmjs.com/package/peer-data-server
- Homepage: https://github.com/vardius/peer-data-server#readme
- Issues: https://github.com/vardius/peer-data-server/issues
- npm.io page: https://npm.io/package/peer-data-server

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.11 (latest) — 2026-11-19
- 1.0.10 — 2019-05-20
- 1.0.9 — 2018-01-18
- 1.0.8 — 2017-11-16
- 1.0.7 — 2017-10-12
- 1.0.6 — 2017-07-21
- 1.0.5 — 2017-07-11
- 1.0.4 — 2017-07-06
- 1.0.3 — 2017-07-03
- 1.0.2 — 2017-07-03
- 1.0.1 — 2017-07-03
- 1.0.0 — 2017-07-03

## README

# PeerDataServer
[![Build Status](https://travis-ci.org/vardius/peer-data-server.svg?branch=master)](https://travis-ci.org/vardius/peer-data-server)
[![npm version](https://img.shields.io/npm/v/peer-data-server.svg)](https://www.npmjs.com/package/peer-data-server)
[![license](https://img.shields.io/github/license/vardius/peer-data-server.svg)](LICENSE)
[![Beerpay](https://beerpay.io/vardius/peer-data-server/badge.svg?style=beer-square)](https://beerpay.io/vardius/peer-data-server)
[![Beerpay](https://beerpay.io/vardius/peer-data-server/make-wish.svg?style=flat-square)](https://beerpay.io/vardius/peer-data-server?focus=wish)

PeerDataServer is messaging service on *Node* using [socket.io](http://socket.io/). This is **ready to use** example signaling server for [PeerData](https://github.com/Vardius/peer-data) library.

The sender and receiver *RTCPeerConnections* run in web pages on different devices, and we need a way for them to communicate metadata.
For this, we use a signaling server: a server that can pass messages between *WebRTC* clients (peers).

In order to set up and maintain a *WebRTC* call, *WebRTC* clients (peers) need to exchange metadata:
- Candidate (network) information.
- Offer and answer messages providing information about media.

In other words, an exchange of metadata is required before peer-to-peer streaming of audio, video, or data can take place. This process is called signaling.

## Installation
```bash
$ npm install peer-data-server
```

## [Documentation](https://github.com/vardius/peer-data-server/wiki)

1. [Chat Example](https://github.com/vardius/webrtc-chat)

ABOUT
==================================================
Contributors:

* [Rafał Lorenz](http://rafallorenz.com)

Want to contribute ? Feel free to send pull requests!

Have problems, bugs, feature ideas?
We are using the github [issue tracker](https://github.com/vardius/peer-data-server/issues) to manage them.

## License

The code is available under the [MIT license](LICENSE).

---
_Source: https://npm.io/package/peer-data-server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
