New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

meta-els

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meta-els

Wrapper around the Elsevier API.

latest
Source
npmnpm
Version
0.3.1
Version published
Maintainers
3
Created
Source

meta-els

Return metadata from a Elsevier PII identifier

installation

npm install -g meta-els

Usage

Module usage

var metaELS = require('meta-els');
var options = {};

// request for one pii
metaELS.resolve("S1534580715000751", options, function (err, item) {
  if (err) { console.error(err); }
  console.log(item);
});

// request for an array of piis
metaELS.resolve(["S1534580715000751", "S0005273614000935"], options, function (err, list) {
  if (err) { console.error(err); }
  list.forEach(function (item) {
    console.log(item);
  });
});

Command line usage

Getting help

meta-els -h
Enrich a csv with meta information requested from a pii.
  Usage: bin/cmd.js [-es] [-f file_name | -k pii_key_name | --pii pii_string]

Options:
  --piikey, -k     the field name containing pii (default "pii").
  --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.
  --pii            A single pii to resolve.



Keywords

doi

FAQs

Package last updated on 25 Aug 2015

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