libp2p provider for Yjs. Uses gossipsub to share updates.
Demo: https://gossippad-marcopolo-io.ipns.dweb.link/ (Src: https://github.com/marcopolo/gossip-pad)
import Libp2p from 'libp2p'
import Provider from 'y-libp2p'
async function() {
const node = await Libp2p.create({
// libp2p options...
})
await node.start
const provider = new Provider(yDoc, node, gossipSubTopic);
}