# API: hyper-p2p-media-chunker **Protocol:** `media-chunker/v1` **Export:** `{ HyperP2PMediaChunker, PROTOCOL }` ## Overview `HyperP2PMediaChunker` — see [`index.js`](../index.js) for methods, events, and `getStats()`. ## Lifecycle - `async ready()` — optional Hyperswarm join when `topic` is set - `async close()` — teardown - `getStats()` — metrics + `protocol: 'media-chunker/v1'` ## Testing ```bash npm install && npm test ```