This package has been deprecated

Author message:

This package is no longer maintained.

amalgamatic-sfx

5.0.4 • Public • Published

Build Status

amalgamatic-sfx

Amalgamatic plugin for SFX

Installation

Install amalgamatic and this plugin via npm:

npm install amalgamatic amalgamatic-sfx

Usage

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

// Set the URL to point to your SFX A-Z list
sfx.setOptions({url: 'http://ucelinks.cdlib.org:8888/sfx_ucsf/az'});

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

//Use it!
var callback = function (err, results) {
    if (err) {
        console.dir(err);
    } else {
        results.forEach(function (result) {
            console.log(result.name);
            console.dir(result.data);
        });
    }
};

amalgamatic.search({searchTerm: 'medicine'}, callback);

Readme

Keywords

Package Sidebar

Install

npm i amalgamatic-sfx

Weekly Downloads

16

Version

5.0.4

License

MIT

Last publish

Collaborators

  • trott