Socket
Book a DemoInstallSign in
Socket

@citation-js/plugin-orcid

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@citation-js/plugin-orcid

Citation.js plugin for ORCID

latest
Source
npmnpm
Version
0.3.1
Version published
Weekly downloads
1
-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

Install

npm install @citation-js/plugin-orcid

Note: this plugin requires @citation-js/plugin-doi, so be sure to install that one as well if you have not already. It is automatically included in the citation-js package.

Use

Install the plugin by require-ing it:

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

Formats

Formats and other features added by this plugin.

Input

ORCID IDs

Create a bibliography from an ORCID ID:

const { Cite } = require('@citation-js/core')
require('@citation-js/plugin-orcid')

Cite
  .async('0000-0000-0000-0000')
  .then(cite => cite.format( ... ))

You can also use the Replacer API, by downloading a bundle with the Replacer functionality, the CSL output plugin and this plugin (download link):

<!-- Please *download* the file linked above, since there is no built-in caching -->
<script src="bundle.js"></script>

<div class="citation-js" data-input="0000-0000-0000-0000" data-output-format="bibliography" data-output-template="apa">
  Placeholder markup for if Citation.js does not work.

  For example, link to <a href="https://orcid.org/0000-0000-0000-0000">your ORCID profile</a> instead!
</div>

Keywords

citation.js

FAQs

Package last updated on 30 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts