How to use the citation-js.get function in citation-js

To help you get started, we’ve selected a few citation-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pubpub / pubpub / workers / tasks / import / bibliography.js View on Github external
return createIdToCiteGetter(cslJson, (entry) => {
		const structuredValue = Cite.get.bibtex.text([entry]);
		return [entry.id, { structuredValue: structuredValue }];
	});
};

citation-js

Citation.js converts formats like BibTeX, Wikidata JSON and ContentMine JSON to CSL-JSON to convert to other formats like APA, Vancouver and back to BibTeX.

MIT
Latest version published 4 days ago

Package Health Score

68 / 100
Full package analysis