Namespace: plugins

@citation-js/core.plugins

Namespaces

config
dict
input
output

Methods

(static) add(ref, pluginsopt)

Parameters:
Name Type Attributes Default Description
ref module:@citation-js/core.plugins~pluginRef

plugin reference/name

plugins module:@citation-js/core.plugins~plugins <optional>
{}
Source:

(static) has(ref) → {Boolean}

Parameters:
Name Type Description
ref module:@citation-js/core.plugins~pluginRef

plugin reference/name

Source:
Returns:

plugin is registered

Type
Boolean

(static) list() → {Array.<module:@citation-js/core.plugins~pluginRef>}

Source:
Returns:

list of registered plugins

Type
Array.<module:@citation-js/core.plugins~pluginRef>

(static) remove(ref)

Parameters:
Name Type Description
ref module:@citation-js/core.plugins~pluginRef

plugin reference/name

Source:

Type Definitions

pluginRef

Type:
  • String
Source:

plugins

Type:
  • Object
Properties:
Name Type Description
input Object.<module:@citation-js/core.plugins.input~format, module:@citation-js/core.plugins.input~parsers>
output Object.<module:@citation-js/core.plugins.output~formatterName, module:@citation-js/core.plugins.output~formatter>
dict Object.<module:@citation-js/core.plugins.dict~dictName, module:@citation-js/core.plugins.dict~dict>
config Object
Source: