Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@rondinif/phytojs

rondinif18MIT1.3.0

A modern javascript toolkit to search about plants on open data

botanica, botanical, flowers, garden, grow vegetables, herbs, linked data, plants, rdf, spqrql, vegetables, vegetable garden, wikidata, wkbotanica

readme

PhytoJS: @rondinif/phytojs

Travis build status Coveralls NPM version License Twitter Follow

Sonarcloud Status Sonarcloud coverage Sonarcloud sqale_index

Sonarcloud security_rating Sonarcloud sqale_rating Sonarcloud reliability_rating

A modern javascript library to search about plants on open data

  • The prefix phyto- , comes from Ancient Greek φυτόν (phutón, “plant”), is used when something is pertaining to or derived from plants.
  • js is the abbreviation of javascript.

Install

npm i @rondinif/phytojs --save

Usage

see below at the examples section...

Development

Clone the package and install the npm dependencies with npm i.

git clone https://github.com/rondinif/phytojs.git
cd phytojs
npm i

Build & Test & Coverage

npm run clean:prepare:cover

Unit tests

npm test
# to execute specific test suites: 
npm run test-main
npm run test-config
npm run test-config-stubbed
npm run test-odla
npm run test-odla-special
npm run test-odla-stubbed
npm run test-odla-sandboxed

Examples

PhytoJS Samples for NodeJS

There are examples that use both require and import to reference the PhytoJS servive module.

Contributing

Simply we encourage contributions from everyone