webrtc-remote-control is a set of tools providing a thin abstraction layer above peerjs that will let you be more productive at making WebRTC data channels based apps.

As for now, there are multiple implementations : VanillaJS, react and vue.

Try the demos for the different implementations (you'll find a direct link to the source code):

Checkout more advanced demos:

Sources on Github