Skip to content

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



ORG

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.

Details


Assets

  • ifct2017--carbohydrates-2.0.7.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0