Module: @citation-js/core

Classes

Cite

Namespaces

plugins
util

Members

(static) logger :Object

Type:
  • Object
Properties:
Name Type Description
_output
_console Console
_log Array.<String>
_levels Array.<module:@citation-js/core~logLevel>
level module:@citation-js/core~logLevel
Source:

(static) version :String

version number

Type:
  • String
Source:

Type Definitions

CSL

CSL object

Type:
  • Object
Source:

InputData

Citation.js input data, see input_formats

Source:
Tutorials:
  • Tutorial: input_formats

InputOptions

Citation.js Input Options

Type:
  • Object
Properties:
Name Type Description
output module:@citation-js/core~OutputOptions
maxChainLength Number
generateGraph Boolean
strict Boolean
forceType Cite.parse~format
target Cite.parse~format
Source:
Tutorials:

logLevel

Type:
  • String
Source:

OutputOptions

Citation.js output_options

Type:
  • Object
Properties:
Name Type Description
format String
type String
style String
lang String
prepend String | module:@citation-js/core~wrapper
append String | module:@citation-js/core~wrapper
_newOptions Object

used internally (for the CLI), if you need this move to Cite#format() probably

Source:
Tutorials:
  • Tutorial: output_options

wrapper(data) → {String}

Parameters:
Name Type Description
data module:@citation-js/core~CSL

Cite object

Source:
Returns:

wrapping string

Type
String