Skip to content

@verdaccio/core


Class: Plugin<PluginConfig>

Alpha

The base plugin class, set of utilities for developing plugins.

Extended by

Type Parameters

Type Parameter
PluginConfig

Constructors

Constructor

ts
new Plugin<PluginConfig>(config, options): Plugin<PluginConfig>;

Alpha

Parameters

ParameterType
configPluginConfig
optionsPluginOptions

Returns

Plugin<PluginConfig>

Properties

PropertyModifierTypeDescription
configreadonlyunknownAlpha
optionsreadonlyPluginOptionsAlpha
versionreadonlynumberAlpha
versionstaticnumberAlpha

Methods

getVersion()

ts
getVersion(): number;

Alpha

Returns

number

Released under the MIT License.