const Cite = require('citation-js@0.4.10')
const content = `TY - JOUR
T1 - The human gene mutation database: 2008 update
A1 - Stenson, Peter D
A1 - Mort, Matthew
A1 - Ball, Edward V
A1 - Howells, Katy
A1 - Phillips, Andrew D
A1 - Thomas, Nick ST
A1 - Cooper, David N
JO - Genome medicine
VL - 1
IS - 1
SP - 13
SN - 1756-994X
Y1 - 2009
PB - BioMed Central
ER -`
let parsed;
try {
parsed = new Cite(content);
} catch (e) {
console.log(e.message)
}
parsed.format('data', {format: 'object'})