Skip to main content
Version: Next (unreleased)

Function: findPlugin()

function findPlugin(dir, spec): Promise<{
marketplace: KnownMarketplace;
plugin: MarketplacePlugin;
}>;

Defined in: core/marketplaces.ts:206

A plugin found in the known marketplaces: <name>@<marketplace>, or a name only one of them offers.

Parameters​

ParameterType
dirstring
specstring

Returns​

Promise<{ marketplace: KnownMarketplace; plugin: MarketplacePlugin; }>