dreamalligator / petrie-itis

a ITIS search wrapper to be used with Petrie

Home Page:https://nebulousdog.github.io/petrie-itis/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Petrie ITIS 🦕

build coverage vulnerabilities

A simple wrapper to query the Integrated Taxonomic Information System (ITIS) database and format the result for Petrie using the ITIS API endpoints.

Usage

const ITISSearcher = require('petrie-itis');
const nepenthes = new ITISSearcher('nepenthes');

This queries the ITIS database, and caches the formatted data. There is a refresh convenience method to query the database again in case there was a network error.

Getting started

  • YARN:

    yarn add petrie petrie-itis

  • NPM:

    npm install petrie petrie-itis

Contributing

Feel free to clone the repo and make a PR!

git clone git@github.com:nebulousdog/petrie-itis.git

Tests

Run tests with yarn test.

License

MIT

About

a ITIS search wrapper to be used with Petrie

https://nebulousdog.github.io/petrie-itis/


Languages

Language:JavaScript 100.0%