astrocite-eutils
A helper library for converting PubMed EUtils ESummary JSON to CSL JSON.
See astrocite for more details.
API
toCSL(apiResponse)
Returns: Array<CSL.Data | EUtilsError>
Where EUtilsError
has the following interface
apiResponse
Type: Object
The entire JSON response received from the PubMed EUtils ESummary API
Usage
; // Assume apiResponse is the JSON received from the EUtils ESummary APIconst cslJSON = ;