get

Cite. get

Source:

Namespaces

dict

Members

(static, constant) register :Cite.util.Register

Source:
Type:

Methods

(static) add(name, formatter)

Add output plugin.

Source:
Parameters:
Name Type Description
name Cite.plugins.output~formatterName

output format name

formatter Cite.plugins.output~formatter

outputting function

(static) format(name, data, …options)

Call output plugin

Source:
Parameters:
Name Type Attributes Description
name Cite.plugins.output~formatterName

output format name

data Array.<CSL>

all entries

options * <repeatable>

output options

(protected, static) getDate(date, delimiteropt) → {String}

Convert a CSL date into human-readable format

Source:
Parameters:
Name Type Attributes Default Description
date Object

A date in CSL format

delimiter String <optional>
'-'

Date part delimiter

Returns:
Type:
String

The string

(protected, static) getName(name, reversedopt) → {String}

Get name from CSL

Source:
Parameters:
Name Type Attributes Default Description
name Object

CSL input

reversed Boolean <optional>
false

output name as 'family, given'

Returns:
Type:
String

Full name

(static) has(name) → {Boolean}

Check if output plugin exists.

Source:
Parameters:
Name Type Description
name Cite.plugins.output~formatterName

output format name

Returns:
Type:
Boolean

register has plugin

(static) remove(name)

Remove output plugin.

Source:
Parameters:
Name Type Description
name Cite.plugins.output~formatterName

output format name