node-peerjs-client

1.0.0 • Public • Published

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

Dependencies (6)

Dev Dependencies (1)

Package Sidebar

Install

npm i node-peerjs-client

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

321 kB

Total Files

6

Last publish

Collaborators

  • kagamox