Açıklama Yok

Satnam Singh Brar 3c83806828 Bump npm package version 5 yıl önce
examples 444f32ff58 Published module on NPM 5 yıl önce
patch ec70feb35c Updated the README 5 yıl önce
.gitignore 12251fa574 Init 5 yıl önce
.npmignore 444f32ff58 Published module on NPM 5 yıl önce
README.md 36d0665d89 Documentation update 5 yıl önce
build.sh 444f32ff58 Published module on NPM 5 yıl önce
index.js 444f32ff58 Published module on NPM 5 yıl önce
package-lock.json 8cf172dff1 Exchange data in Binary by default 5 yıl önce
package.json 3c83806828 Bump npm package version 5 yıl önce

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 peerjs-on-node

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('peerjs-on-node').Peer;
    

Build history

v1.0.0

  • Based on commit 0645dc3 of PeerJS
  • First release version that tries to make most of the peerJS functionality work on NodeJS
  • See file patch/patch.diff for all the modification made to the base PeerJS code and get it running on NodeJS
  • PeerJS code not included in this repo

v1.0.1

  • Updated some documentation

v1.0.2

  • Updated a bit more of the documentation