Installable via npm install --save ipfs-pubsub-room
, it can also be used directly in the browser.
The source is available for download from GitHub. Alternatively, you can install using npm:
$ npm install --save ipfs-pubsub-room
You can then require()
ipfs-pubsub-room as normal:
const ipfsPubsubRoom = require('ipfs-pubsub-room')
Ipfs-pubsub-room should work in any ES2015 environment out of the box.
Usage:
<script type="text/javascript" src="index.js"></script>
The portable versions of ipfs-pubsub-room, including index.js
and index.min.js
, are included in the /dist
folder. Ipfs-pubsub-room can also be found on unpkg.com under