Citation.js

Citation.js

Citation.js (GitHub, NPM) converts formats like BibTeX, BibJSON, DOI, and Wikidata to CSL-JSON to convert to styles like APA, Vancouver and to BibTeX and RIS.

Read the preprint "Citation.js: a format-independent, modular bibliography tool for the browser and command line" on PeerJ Preprints.

Features

  • Conversion from: BibTeX, CFF, DOI, ISBN and Wikidata
  • Conversion to: CSL-JSON, BibTeX, CFF, RIS
  • citeproc-js support with preloaded styles and locales
  • Modular approach, pick supported formats
  • Support for Node.js, browser, and has a CLI
  • MIT licensed
itation.js

Related projects

Demo

const Cite = require('citation-js')

const data = await Cite.async('Q30000000')

data.format('bibliography', {
  format: 'html',
  template: 'apa',
  lang: 'en-US'
})