How to use the @citation-js/plugin-bibjson.parsers function in @citation-js/plugin-bibjson

To help you get started, we’ve selected a few @citation-js/plugin-bibjson 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 larsgw / citation.js / index.js View on Github external
chainLink: core.plugins.input.chainLink,
    chainLinkAsync: core.plugins.input.chainLinkAsync,
    dataAsync: core.plugins.input.dataAsync,
    type: core.plugins.input.type,
    async: {
      chain: core.plugins.input.chainAsync,
      chainLink: core.plugins.input.chainLinkAsync,
      data: core.plugins.input.dataAsync
  name: name.parse,
  date: date.parse,
  csl: core.plugins.input.util.clean,

  bibjson: require('@citation-js/plugin-bibjson').parsers.json.record,
  bibtex: ((bibtex) => ({
    json: bibtex.parsers.json.parse,
    prop: bibtex.parsers.prop.parse,
    text: bibtex.parsers.text.parse,
    type: bibtex.parsers.type.parse
  bibtxt: ((bibtxt) => ({
    text: bibtxt.parse,
    textEntry: bibtxt.textEntry
  doi: ((doi) => ({
    api: doi.parsers.api.parse,
    async: {
      api: doi.parsers.api.parseAsync


Plugin for BibJSON formats for Citation.js

Latest version published 1 month ago

Package Health Score

68 / 100
Full package analysis

Popular @citation-js/plugin-bibjson functions