|
пре 3 година | |
---|---|---|
examples | пре 5 година | |
patch | пре 5 година | |
.gitignore | пре 5 година | |
.npmignore | пре 5 година | |
README.md | пре 3 година | |
build.js | пре 3 година | |
build.sh | пре 3 година | |
index.js | пре 5 година | |
package-lock.json | пре 3 година | |
package.json | пре 3 година |
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;