Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@citation-js/plugin-doi

0.5.0-alpha.9 • Public • Published

@citation-js/plugin-doi

Plugin for DOI input for Citation.js.

NPM version NPM total downloads License Dependency status

Install

npm install @citation-js/plugin-doi

Usage

Register by importing the package:

require('@citation-js/plugin-doi')

Formats

Formats and other features added by this plugin.

Input

Supports DOIs inputted in the following ways:

  • @doi/api: a doi.org URL
  • @doi/id: a single DOI
  • @doi/list+text: whitespace-separated list of DOIs
  • @doi/list+object: array of DOIs

Additionally, the following internal type is exposed:

  • @doi/type: fix the type value in certain API responses

Install

npm i @citation-js/plugin-doi

DownloadsWeekly Downloads

2,728

Version

0.5.0-alpha.9

License

MIT

Unpacked Size

10.9 kB

Total Files

13

Last publish

Collaborators

  • avatar