ifct2017--carbohydrates
/
2.0.7
ifct2017--carbohydrates 2.0.7
Install from the command line:
Learn more about npm packages
$ npm install @ifct2017/ifct2017--carbohydrates@2.0.7
Install via package.json:
"@ifct2017/ifct2017--carbohydrates": "2.0.7"
About this version
Conversion of carbohydrate weights to monosaccharide equivalents.
π¦ Node.js,
π Files.
This is part of package ifct2017.
Online database: ifct2017.github.io.
const carbohydrates = require('@ifct2017/carbohydrates');
// carbohydrates(query)
// β matches [{sno, carbohydrate, hydrolysis, monosaccharide}]
carbohydrates('monosaccharide');
carbohydrates('Glucose');
// [ { sno: '1',
// carbohydrate: 'Monosaccharides e.g. glucose',
// hydrolysis: 100,
// monosaccharide: 1 } ]
carbohydrates('what is carbohydrate conversion factor of disaccharides?');
carbohydrates('maltose conversion factor');
// [ { sno: '2',
// carbohydrate: 'Disaccharides e.g. sucrose, lactose, maltose',
// hydrolysis: 105,
// monosaccharide: 1.05 } ]
// Additional methods:
carbohydrates.load() // β corpus
carbohydrates.sql([table], [options]) // β sql statements
carbohydrates.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.