I got the following code from the git-hub but I don\'t know how to use and execute.
$> npm install peer --->where i want to install this node_module
There are few ways to get peerjs-server:
npm install peer
git clone https://github.com/peers/peerjs-server
download and unpack zip-file from git
After that go to
and run peerjs-server with command:
node peerjs --port 9000 --key peerjs
or
./peerjs --port 9000 --key peerjs
peerjs-server has more options, and you can see them with command ./peerjs
without arguments.