Tidak Ada Deskripsi

nicejs-is-cool 51d9098a01 update readme again 3 tahun lalu
examples 40761dd752 Added a new example script 5 tahun lalu
patch ec70feb35c Updated the README 5 tahun lalu
.gitignore 12251fa574 Init 5 tahun lalu
.npmignore 444f32ff58 Published module on NPM 5 tahun lalu
README.md 51d9098a01 update readme again 3 tahun lalu
build.js bc668187cd i forgor to add the actual script lmao 3 tahun lalu
build.sh c7414d7ea7 add auto cloning of the peerjs repo 3 tahun lalu
index.js 444f32ff58 Published module on NPM 5 tahun lalu
package-lock.json 33263dfdc3 downgrade parcel due to typescript being sus 3 tahun lalu
package.json c7ea783728 add npm prepublishOnly script 3 tahun lalu

README.md

Node PeerJS

npm version

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.

Install

npm i --save node-peerjs-client

Usage

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;
    

Build history

v1.0.0

  • PeerJS code not included in this repo
  • Cross-platform build script written in node
  • Only builds PeerJS if necessary