mise API - v0.0.0
    Preparing search index...

    Function plugins_searchPeers

    • Searches for a plugin across multiple peer ChRIS stores.

      Queries each peer store in order until a match is found. Returns the first matching plugin along with its store URL.

      Parameters

      • pluginName: string

        Name of the plugin to search for.

      • Optionalversion: string

        Optional version of the plugin to search for.

      • peerStoreUrls: string[] = ...

        Array of peer store URLs to search (default: cube.chrisproject.org).

      Returns Promise<PeerStorePlugin | null>

      Promise resolving to plugin data and store URL, or null if not found.

      const result = await plugins_searchPeers('pl-dircopy');
      if (result) {
      console.log(`Found plugin at ${result.storeUrl}`);
      }