Add session bridge pair management, core replicator policy clear, drive mount unmount-all, relay tunnel bulk close, compact codec resetStats, peer bootstrap and noise session listing, graph and disk stripe clear, memetic clear, retry policy route management, bitfield drain, task orchestrator cancelAllPending, and distributed event bus topic/unsubscribe helpers. Co-authored-by: Cursor <[email protected]>
hyper-p2p-graph-index
Adjacency-list graph with neighbors and bounded BFS traversal.
Category: indexes-search
Protocol: graph-index/v1
When to use
Routing tables, social graphs, or dependency graphs explored locally by depth.
When not to use
Weighted shortest-path on large graphs (use a dedicated pathfinding module).
Quick start
const { HyperP2PGraphIndex } = require('hyper-p2p-graph-index')
const g = new HyperP2PGraphIndex()
g.addEdge('a', 'b')
console.log(g.bfs('a', 2))
Docs
Test
npm install && npm test