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.
Name of the plugin to search for.
Optional
Optional version of the plugin to search for.
Array of peer store URLs to search (default: cube.chrisproject.org).
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}`);} Copy
const result = await plugins_searchPeers('pl-dircopy');if (result) { console.log(`Found plugin at ${result.storeUrl}`);}
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.