Jonas Gloning
d38066a391
style: run prettier
2023-02-14 20:49:59 +01:00
Jonas Gloning
05f12cdc56
feat: specify cors options via cli or js
...
Closes #196 , #221
2023-02-14 20:45:31 +01:00
Jonas Gloning
084fb8a4bd
feat: set the PEERSERVER_PATH with an environment variable
...
Closes #213
2023-02-14 18:50:40 +01:00
Jonas Gloning
68a3398f54
feat: set the PORT with an environment variable
...
Closes #213
2023-02-14 18:43:40 +01:00
Jonas Gloning
476299ed08
fix: import from ESM only environments
...
refactor: strictest typescript preset
2023-02-14 13:36:30 +01:00
Jonas Gloning
68f973afb4
fix: more accurate types
...
Closes #182
2023-01-09 21:08:12 +01:00
Jonas Gloning
2b73b5c97d
feat: ESM support
...
feat: automatic .d.ts generation
chore(deps): yargs@17
2023-01-09 20:24:50 +01:00
afrokick
34589d9786
docker: stop PeerJS process on Ctrl+C #205
2020-11-24 12:05:02 +03:00
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