How to use @citation-js/plugin-bibjson - 1 common examples

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,
    data: core.plugins.input.data,
    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
  }))(require('@citation-js/plugin-bibtex/lib/input')),
  bibtxt: ((bibtxt) => ({
    text: bibtxt.parse,
    textEntry: bibtxt.textEntry
  }))(require('@citation-js/plugin-bibtex/lib/input/bibtxt')),
  doi: ((doi) => ({
    api: doi.parsers.api.parse,
    id: doi.parsers.id.parse,
    async: {
      api: doi.parsers.api.parseAsync
    }

@citation-js/plugin-bibjson

Plugin for BibJSON formats for Citation.js

MIT
Latest version published 6 months ago

Package Health Score

61 / 100
Full package analysis

Popular @citation-js/plugin-bibjson functions