
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Return crossref metadata from a DOI identifier.
The crossref api is used.
npm install -g meta-doi
var metadoi = require('meta-doi');
var options = {};
// request for one doi
metadoi.resolve("10.1007/BF02478894", options, function (err, item) {
if (err) { console.error(err); }
console.log(item);
});
// request for an array of dois
metadoi.resolve(["10.1016/0735-6757(91)90169-K", "10.1007/BF02478894"], options, function (err, list) {
if (err) { console.error(err); }
list.forEach(function (item) {
console.log(item);
});
});
Getting help
meta-doi -h
Enrich a csv with meta information requested from a doi.
Usage: /home/ubuntu/ezpaarse/build/nvm/bin/latest/meta-doi [-es] [-f file_name
| -k doi_key_name | --doi doi_string]
Options:
--doikey, -k the field name containing doi (default "doi").
--delimiter, -d delimiter of the csv file. Defaults to ";".
--file, -f A csv file to parse. If absent, will read from standard input
.
--wait, -w minimum time to wait between queries, in milliseconds.
Defaults to 200.
--doi A single doi to resolve.
CSV file enrichment
meta-doi -f my_CSV_with_doi_field.csv > my_CSV_doi_enriched.csv
Request for a single DOI
meta-doi --doi "10.1134/S1607672911010121"
will return :
{ 'doi-publication-title':
[ 'Dokl Biochem Biophys',
'Doklady Biochemistry and Biophysics' ],
'doi-publication-date-year': 2011,
'doi-publisher': 'Pleiades Publishing Ltd',
'doi-type': 'journal-article',
'doi-ISSN': [ '1607-6729', '1608-3091' ],
'doi-subject': [ 'Chemistry(all)', 'Biochemistry', 'Biophysics' ],
'doi-DOI': '10.1134/s1607672911010121' }
Return doi metadata from dois with options.
The callback is called with a potential error and a result object (see example above).
doi could be a string (one doi) and result is an object
or
dois could be an array (many dois) and result is an array of objects.
You can use options { extended: true } to obtain license informations about the doi object
FAQs
Wrapper around the Crossref API.
We found that meta-doi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.