How to use the @citation-js/plugin-bibtex/lib/output/text.default function in @citation-js/plugin-bibtex

To help you get started, we’ve selected a few @citation-js/plugin-bibtex 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
return Promise.resolve(wikidata.parsers.prop.parse.apply(this, args))
      }
    }
  }))(require('@citation-js/plugin-wikidata'))
}, Cite.plugins.input)

Cite.get = Object.assign({
  dict: Cite.plugins.dict,

  name: name.format,
  date: date.format,

  bibtex: {
    json: require('@citation-js/plugin-bibtex/lib/output/json').default,
    label: require('@citation-js/plugin-bibtex/lib/output/label').default,
    text: require('@citation-js/plugin-bibtex/lib/output/text').default,
    type: require('@citation-js/plugin-bibtex/lib/output/type').default
  },
  bibtxt: require('@citation-js/plugin-bibtex/lib/output/bibtxt').default,
  json: require('@citation-js/core/lib/plugin-common/output').default.data,
  label: require('@citation-js/core/lib/plugin-common/output').default.label
}, Cite.plugins.output)

module.exports = Cite