webcdn-coordinator

0.0.12 • Public • Published

WebCDN Coordinator

Coordinator server for a browser-based content distribution network using WebRTC

Installation

npm install webcdn-coordinator

Quickstart

$ npm install webcdn-coordinator
cd webcdn-coordinator 
$ npm start [-- <args>]
Options Type Default
uploadRatio Number 1
uploadMax Number 10 (MB)
socketPort Number 1337

Example

$ npm start -- --uploadMax 20 --socketPort 1200

API

Server

Exposed by require('webcdn-coordinator').

Server()

Creates a new Server.

var coordinator = require('webcdn-coordinator')();

Tests

To run the test suite, first install the dependencies, then run npm test.

$ npm install
$ npm test

Dependencies (4)

Dev Dependencies (2)

Package Sidebar

Install

npm i webcdn-coordinator

Weekly Downloads

0

Version

0.0.12

License

MIT

Last publish

Collaborators

  • patrick.michelberger