input/doi

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

Returns:
Type:
Array.<CSL>

Array of CSL

(protected, inner) parseDoiApiAsync(data) → {Promise.<Array.<CSL>>}

Get CSL JSON from DOI API URLs.

Source:
Parameters:
Name Type Description
data String | Array.<String>

DOIs

Returns:
Type:
Promise.<Array.<CSL>>

Array of CSL

(protected, inner) parseDoiJson(data) → {CSL}

Format CrossRef JSON

Source:
Parameters:
Name Type Description
data Object

The input data

Returns:
Type:
CSL

The formatted input data

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

Returns:
Type:
Array.<CSL>

Array of CSL

(protected, inner) parseDoiApiAsync(data) → {Promise.<Array.<CSL>>}

Get CSL JSON from DOI API URLs.

Source:
Parameters:
Name Type Description
data String | Array.<String>

DOIs

Returns:
Type:
Promise.<Array.<CSL>>

Array of CSL

(protected, inner) parseDoiJson(data) → {CSL}

Format CrossRef JSON

Source:
Parameters:
Name Type Description
data Object

The input data

Returns:
Type:
CSL

The formatted input data

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

Returns:
Type:
Array.<CSL>

Array of CSL

(protected, inner) parseDoiApiAsync(data) → {Promise.<Array.<CSL>>}

Get CSL JSON from DOI API URLs.

Source:
Parameters:
Name Type Description
data String | Array.<String>

DOIs

Returns:
Type:
Promise.<Array.<CSL>>

Array of CSL

(protected, inner) parseDoiJson(data) → {CSL}

Format CrossRef JSON

Source:
Parameters:
Name Type Description
data Object

The input data

Returns:
Type:
CSL

The formatted input data

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

Returns:
Type:
Array.<CSL>

Array of CSL

(protected, inner) parseDoiApiAsync(data) → {Promise.<Array.<CSL>>}

Get CSL JSON from DOI API URLs.

Source:
Parameters:
Name Type Description
data String | Array.<String>

DOIs

Returns:
Type:
Promise.<Array.<CSL>>

Array of CSL

(protected, inner) parseDoiJson(data) → {CSL}

Format CrossRef JSON

Source:
Parameters:
Name Type Description
data Object

The input data

Returns:
Type:
CSL

The formatted input data

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

Returns:
Type:
Array.<CSL>

Array of CSL

(protected, inner) parseDoiApiAsync(data) → {Promise.<Array.<CSL>>}

Get CSL JSON from DOI API URLs.

Source:
Parameters:
Name Type Description
data String | Array.<String>

DOIs

Returns:
Type:
Promise.<Array.<CSL>>

Array of CSL

(protected, inner) parseDoiJson(data) → {CSL}

Format CrossRef JSON

Source:
Parameters:
Name Type Description
data Object

The input data

Returns:
Type:
CSL

The formatted input data