|
vor 3 Jahren | |
---|---|---|
examples | vor 5 Jahren | |
patch | vor 5 Jahren | |
.gitignore | vor 5 Jahren | |
.npmignore | vor 5 Jahren | |
README.md | vor 3 Jahren | |
build.js | vor 3 Jahren | |
build.sh | vor 3 Jahren | |
index.js | vor 5 Jahren | |
package-lock.json | vor 3 Jahren | |
package.json | vor 3 Jahren |
A port of the PeerJS library which currently only works on browsers. It uses the wrtc
node module to provide webrtc functionality and fixes various compatibility issues with NodeJS.
npm i --save node-peerjs-client
Just refer to the PeerJS documentation for a more detailed description of how the module works. You can also take a look at the examples/
directory in this repo to see a small example using peerjs-on-node
Import the module like this
const Peer = require('node-peerjs-client').Peer;