RevealPeerJS Docs
Enhanced quickstart, usage snippets, and showcase links.
README
Project overview and full reference: README.md
Usage
Install:
pnpm add reveal-peerjs
ESM setup:
import Reveal from 'reveal.js';
import RevealPeerJS from 'reveal-peerjs';
Reveal.initialize({
hash: true,
plugins: [RevealPeerJS]
});
Script include:
<script src="https://cdn.jsdelivr.net/npm/reveal-peerjs@latest/dist/reveal-peerjs.js"></script>
<script>
Reveal.initialize({ plugins: [RevealPeerJS] });
</script>
Example / Showcase
Open the full interactive showcase deck: example/index.html
Tip: open it in two windows to test chat, hub controls, polls, and games.