Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

install

npm i webcdn-coordinator

Downloadsweekly downloads

27

version

0.0.12

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar