# amalgamatic-ucsflibdbs

> UCSF Library databases plugin for amalgamatic

Latest version **1.2.2** (published 2016-02-02) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install amalgamatic-ucsflibdbs
pnpm add amalgamatic-ucsflibdbs
yarn add amalgamatic-ucsflibdbs
bun add amalgamatic-ucsflibdbs
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.2.2 |
| Published | 2016-02-02 |
| First published | 2014-09-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.2.6 |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | trott |
| Keywords | amalgamatic-plugin |

## Links

- npm: https://www.npmjs.com/package/amalgamatic-ucsflibdbs
- Repository: https://github.com/ucsf-ckm/amalgamatic-ucsflibdbs
- Homepage: https://github.com/ucsf-ckm/amalgamatic-ucsflibdbs#readme
- Issues: https://github.com/ucsf-ckm/amalgamatic-ucsflibdbs/issues
- npm.io page: https://npm.io/package/amalgamatic-ucsflibdbs

## Dependencies (4)

- [lab](https://npm.io/package/lab.md) ^5.11.0
- [code](https://npm.io/package/code.md) ^1.4.1
- [cheerio](https://npm.io/package/cheerio.md) ^0.17.0
- [util-extend](https://npm.io/package/util-extend.md) ^1.0.1

## Recent versions

- 1.2.2 (latest) — 2016-02-02
- 1.2.1 — 2015-06-22
- 1.2.0 — 2015-06-22
- 1.1.4 — 2014-10-15
- 1.1.3 — 2014-10-15
- 1.1.2 — 2014-10-15
- 1.1.1 — 2014-10-14
- 1.1.0 — 2014-10-10
- 1.0.2 — 2014-10-06
- 1.0.1 — 2014-09-30
- 1.0.0 — 2014-09-30

## README

[![Build Status](https://travis-ci.org/ucsf-ckm/amalgamatic-ucsflibdbs.svg?branch=master)](https://travis-ci.org/ucsf-ckm/amalgamatic-ucsflibdbs)

amalgamatic-ucsflibdbs
======================

[Amalgamatic](https://github.com/ucsf-ckm/amalgamatic) plugin for UCSF Library databases

## Installation

Install amalgamatic and this plugin via `npm`:

`npm install amalgamatic amalgamatic-ucsflibdbs`

## Usage

````
var amalgamatic = require('amalgamatic'),
    dbs = require('amalgamatic-ucsflibdbs');

// Set the URL to point to the UCSF Library Database search page 
//   or, if you are using Browserify, a CORS proxy for it
dbs.setOptions({url: 'https://www.library.ucsf.edu/db'});

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

//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);
````

---
_Source: https://npm.io/package/amalgamatic-ucsflibdbs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
