
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@citation-js/plugin-quickstatements
Advanced tools
Plugin that takes citation-js input and output QuickStatements.
This npm package is a plugin to citation.js (see this article) that outputs bibliographic information to Wikidata QuickStatements. Some important points:
npm install @citation-js/plugin-quickstatements
To run the below example, you also need to install a few other packages (as they are currently not automatically pulled in, it seems):
npm install @citation-js/core @citation-js/plugin-pubmed @citation-js/plugin-doi @babel/register @babel/core
Install the plugin by require-ing it:
require('@citation-js/plugin-quickstatements')
Formats and other features added by this plugin.
The input is CSL generated by citation.js by any of its supported formats. Here's an example for how to create QuickStatements for a PubMed Central identifier:
c = require('@citation-js/core')
require('@citation-js/plugin-pubmed')
require('@citation-js/plugin-doi')
require('@babel/register')
require('@citation-js/plugin-quickstatements')
c.Cite.async([
'10.1186/s13321-019-0380-5',
'pmid:14266813',
'PMC6613236'
])
.then(Cite =>
console.log(Cite.format('quickstatements'))
)
.catch(console.error)
Or for book ISBN numbers:
const c = require('@citation-js/core')
require('@citation-js/plugin-isbn')
require('@babel/register')
require('@citation-js/plugin-quickstatements')
c.Cite.async([
'978-0956775016'
])
.then(Cite =>
console.log(Cite.format('quickstatements'))
)
.catch(console.error)
The output is QuickStatements to be copied into the online webservice. The output looks like:
CREATE
LAST P31 Q13442814
LAST Len "Journal of Cheminformatics, ORCID, and GitHub"
LAST P304 "44"
LAST P356 "10.1186/s13321-019-0365-4"
LAST P433 "1"
LAST P478 "11"
LAST P698 "31281945"
LAST P932 "PMC6613236"
LAST P1476 "Journal of Cheminformatics, ORCID, and GitHub"
LAST P577 "2019-07-08"
LAST P2093 "Egon Willighagen" P1545 "1"
LAST P2093 "Nina Jeliazkova" P1545 "2"
LAST P2093 "Rajarshi Guha" P1545 "3"
FAQs
Plugin that takes citation-js input and output QuickStatements.
The npm package @citation-js/plugin-quickstatements receives a total of 4 weekly downloads. As such, @citation-js/plugin-quickstatements popularity was classified as not popular.
We found that @citation-js/plugin-quickstatements demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.