Citation.js: a format-independent, modular bibliography tool for the browser and command line

Given the vast number of standards and formats for bibliographical data, any program working with bibliographies and citations has to be able to interpret such data. This paper describes the development of Citation.js (https://citation.js.org/), a tool to parse and format according to those standard...

Celý popis

Uložené v:
Podrobná bibliografia
Vydané v:PeerJ. Computer science Ročník 5; s. e214
Hlavný autor: Willighagen, Lars G.
Médium: Journal Article
Jazyk:English
Vydavateľské údaje: United States PeerJ. Ltd 12.08.2019
PeerJ Inc
Predmet:
ISSN:2376-5992, 2376-5992
On-line prístup:Získať plný text
Tagy: Pridať tag
Žiadne tagy, Buďte prvý, kto otaguje tento záznam!
Popis
Shrnutí:Given the vast number of standards and formats for bibliographical data, any program working with bibliographies and citations has to be able to interpret such data. This paper describes the development of Citation.js (https://citation.js.org/), a tool to parse and format according to those standards. The program follows modern guidelines for software in general and JavaScript in specific, such as version control, source code analysis, integration testing and semantic versioning. The result is an extensible tool that has already seen adaption in a variety of sources and use cases: as part of a server-side page generator of a publishing platform, as part of a local extensible document generator, and as part of an in-browser converter of extracted references. Use cases range from transforming a list of DOIs or Wikidata identifiers into a BibTeX file on the command line, to displaying RIS references on a webpage with added Altmetric badges to generating "How to cite this" sections on a blog. The accuracy of conversions is currently 27% for properties and 60% for types on average and a typical initialization takes 120 ms in browsers and 1 s with Node.js on the command line. Citation.js is a library supporting various formats of bibliographic information in a broad selection of use cases and environments. Given the support for plugins, more formats can be added with relative ease.
Bibliografia:ObjectType-Article-2
SourceType-Scholarly Journals-1
ObjectType-Bibliography-1
ObjectType-Feature-3
content type line 23
ISSN:2376-5992
2376-5992
DOI:10.7717/peerj-cs.214