ifct2017--methods 2.0.9
Install from the command line:
Learn more about npm packages
$ npm install @ifct2017/ifct2017--methods@2.0.9
Install via package.json:
"@ifct2017/ifct2017--methods": "2.0.9"
About this version
Analytical methods of nutrient and bioactive components.
π¦ Node.js,
π Files.
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.