Skip to main content

Function: getPluginOptions()

function getPluginOptions(packageName): unknown | null

Gets the config options for a specific plugin package.

Parameters​

ParameterTypeDescription
packageNamestringThe name of the package to get the options for.

Returns​

unknown | null

The options for the package, or null if the package is not installed nor configured.