19 Commits

Author SHA1 Message Date
Robin Millette
aa2be8063e Add host option. 2020-06-07 10:15:51 -04:00
Darren Hobin
cb0a72bf8a Replace optimist with yargs
Optimist is no longer maintained. It has not been updated since 2014,
even for basic security updates. Thus this change replaces it with its
spiritual successor, yargs, which is still actively maintained.

This is also a first step to removing peerjs' dependence on an outdated
version of minimist that has known security vulnerabilities.
2020-05-11 11:22:25 -04:00
afrokick
dd0b60416e ref 2019-08-22 20:59:55 +03:00
afrokick
799299d669 add checkConnections service 2019-08-21 17:39:00 +03:00
afrokick
948a0b8ff2 remove host arg because not used 2019-04-11 17:35:47 +03:00
afrokick
db30a334c0 add host arg to app 2019-04-11 17:22:24 +03:00
afrokick
54d08f4ee7 fix optimist's args 2019-04-11 13:43:15 +03:00
afrokick
a7bc7b03d2 fix readme
fix dc event
2019-04-11 13:30:17 +03:00
afrokick
b31d2b881d convert to lib 2019-04-10 23:44:15 +03:00
afrokick
1e09fcfb64 ref 2019-04-01 14:34:59 +03:00
Michelle Bu
3c96df6af0 Fix path reference 2014-11-01 14:37:09 -07:00
Michelle Bu
747f70db4b Fix spacing 2014-11-01 13:51:31 -07:00
Michelle Bu
563eb46f04 4 space to 2 space in bin 2014-11-01 13:46:37 -07:00
lmb
9429006ee4 Clean up API 2014-10-18 16:07:40 +01:00
lmb
be66a1b346 Fix bin/peerjs 2014-10-18 13:23:09 +01:00
Vsevolod Strukchinsky
9e0d861715 Migrate to express from restify
PeerServer is now instance of express application - this allows to combine it with other express applications.
Listen is deferred - because it now method from express (you can call it later and supply callback for start event).
Constructor now not using `new` (because we mixing in methods to express app)

Closes #36
2014-10-18 12:34:14 +01:00
Michelle Bu
8c1eb5d978 Allow discovery 2014-03-09 13:29:21 -07:00
Michelle Bu
2983739725 Update README and script to accept path 2014-03-01 12:37:46 -08:00
Ilya Grigorik
0cb729dcaa add 'peerjs' bin script for simple(r) bootstrap 2013-07-05 22:33:02 -07:00