Module for generating citations from Code Source URL's like GitHub, or FigShare.
- Source:
Members
(static) FormatOptions
Properties:
Name | Type | Description |
---|---|---|
FormatOptions |
model.FormatOptions | A class that describtes the customizable options for formatting a citation. |
- Source:
(static) styles
Properties:
Name | Type | Description |
---|---|---|
styles |
Object | A collection of formatters for coercing source data into a particular format standard. |
- Source:
Methods
(static) generate(formatOptions, callback)
Parameters:
Name | Type | Description |
---|---|---|
formatOptions |
model.FormatOptions | The basic configuration object that is used to determine the format of the citation output string |
callback |
generateCallback | Callback on completion of citation generation. Args are string and array of errors or warning |
- Source: