Software Open Access

ifct2017/carbohydrates: Conversion of carbohydrate weights to monosaccharide equivalents

Subhajit Sahu; Abhishek Sahu

Conversion of carbohydrate weights to monosaccharide equivalents.<br> 📦 Node.js, 📜 Files.

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

<br>

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

<br> <br>

<br>

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

Files (15.1 kB)
Name Size
ifct2017/carbohydrates-2.0.5.zip
md5:ec78be617ee19e6b3260b1dd6d0fef2d
15.1 kB Download
13
0
views
downloads
All versions This version
Views 1313
Downloads 00
Data volume 0 Bytes0 Bytes
Unique views 1313
Unique downloads 00

Share

Cite as