Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

hyperdrive-network-heuristics

andrewosh46MIT1.0.2

Networking heuristics for announcing Hyperdrives on Hyperswarm.

hyperdrive, networking, corestore, heuristics

readme

hyperdrive-network-heuristics

Networking heuristics for announcing Hyperdrives on Hyperswarm

These heuristics are used in the hyperdrive-daemon-client and @hyperspace/hyperdrive.

Usage

There's only one exported method, which is used to enable the networking heuristics:

applyHeuristics(drive, networker)

Applies networking heuristics to a drive.

  • drive: A Hyperdrive instance
  • networker: A @corestore/networker or Hyperspace RemoteNetworker

License

MIT