Methods
(protected, inner) fetchDoiType(value) → {String}
Get CSL type from CrossRef type
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
String
|
Input CrossRef type |
Returns:
- Type:
-
String
Output CSL type
(protected, inner) parseDoi(data) → {Array.<String>}
Get DOI API URLs from DOI ID.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
data |
String
|
DOIs |
Returns:
- Type:
-
Array.<String>
DOI URLs
(protected, inner) parseDoiApi(data) → {Array.<CSL>}
Get CSL JSON from DOI API URLs.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
data |
String
|
Array.<String>
|
DOIs |
(protected, inner) parseDoiApiAsync(data) → {Promise.<Array.<CSL>>}
Get CSL JSON from DOI API URLs.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
data |
String
|
Array.<String>
|
DOIs |
(protected, inner) parseDoiJson(data) → {CSL}
Format CrossRef JSON
- Source:
Parameters:
Name | Type | Description |
---|---|---|
data |
Object
|
The input data |