amalgamatic-pubmed

PubMed plugin for amalgamatic

This package is no longer maintained.
Last updated 4 years ago by trott .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install amalgamatic-pubmed 
SYNC missed versions from official npm registry.

Build Status

amalgamatic-pubmed

PubMed plugin for Amalgamatic

Installation

Install amalgamatic and this plugin via npm:

npm install amalgamatic amalgamatic-pubmed

Usage

var amalgamatic = require('amalgamatic'),
    pubmed = require('amalgamatic-pubmed');

// Set your tool and otool options if you want results to come back customized for your institution
pubmed.setOptions({tool: 'cdl', otool: 'cdlotool'});

// Add this plugin to your Amalgamatic instance along with any other plugins you've configured.
amalgamatic.add('our cool pubmed plugin', pubmed);

//Use it!
var callback = function (err, results) {
    if (err) {
        console.dir(err);
    } else {
        results.forEach(function (result) {
            console.log('Plugin Name: ' + result.name);
            console.log('\nSearch Results: ');
            result.data.forEach(function (value) { console.dir(value); } );
            console.log('\nSuggested terms: ' + result.suggestedTerms.join(','));
        });
    }
};

// Let's misspell "medicine" to trigger PubMed's suggested terms along with the search results
amalgamatic.search({searchTerm: 'medisine'}, callback);

Current Tags

  • 3.3.0                                ...           latest (4 years ago)

11 Versions

  • 3.3.0 [deprecated]           ...           4 years ago
  • 3.2.3 [deprecated]           ...           4 years ago
  • 3.2.2 [deprecated]           ...           6 years ago
  • 3.2.1 [deprecated]           ...           6 years ago
  • 3.2.0 [deprecated]           ...           6 years ago
  • 3.1.1 [deprecated]           ...           6 years ago
  • 3.1.0 [deprecated]           ...           6 years ago
  • 3.0.0 [deprecated]           ...           6 years ago
  • 2.0.0 [deprecated]           ...           6 years ago
  • 1.0.1 [deprecated]           ...           6 years ago
  • 1.0.0 [deprecated]           ...           6 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (6)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |