@ifct2017/methods

Analytical methods of nutrient and bioactive components.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Mar 15, 2021Apr 25, 2018Minified + gzip package size for @ifct2017/methods in KB

Readme

Analytical methods of nutrient and bioactive components.

This is part of package ifct2017.
Online database: ifct2017.github.io.


const methods = require('@ifct2017/methods');
// methods(query)
// → {analyte, method, reference} if found, null otherwise


methods('soluble oxalic acid');
methods('Insoluble Oxalic Acid');
// { analyte: 'Oxalic acid (Total), Soluble oxalic acid, Insoluble oxalic acid',
//   method: 'Fast- HPLC',
//   reference: 'Moreau & Savage (2009)' }

methods('what is analytical method of saponin?');
methods('how is total saponin measured?');
// { analyte: 'Total Saponin',
//   method: 'Colorimetry',
//   reference: 'Dini et al. (2009)' }
// Additional methods:
methods.load() // → corpus
methods.sql([table], [options]) // → sql statements
methods.csv() // → path of csv file


Data was obtained from the book Indian Food Composition Tables 2017.
Food composition values were measured by National Institute of Nutrition, Hyderabad.
Take a peek at the raw data here: Document, Webpage.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.