import Nutrition from './Nutrition.svelte';
export const Tool: TypeTool = {
name: 'Nutrition Calculator',
slug: 'nutrition',
intro:
'Add foods by weight and compare their combined nutrients with an official reference profile.',
tool: () => '',
i: [],
o: [
{
label: 'Nutrition totals',
placeholder: 'Nutrition totals',
render: 'custom',
renderas: Nutrition,
type: 'text'
}
],
alternative: [
{
title: 'Macronutrient Split',
url: '/nutrition/macronutrient-split'
},
{ title: 'Body Mass Index', url: '/body-mass-index' },
{ title: 'Compare Foods', url: '/compare/food' }
],
cite: [
{
title: 'USDA FoodData Central',
url: 'https://fdc.nal.usda.gov/'
},
{
title: 'FDA Daily Values',
url: 'https://www.fda.gov/food/nutrition-facts-label/daily-value-nutrition-and-supplement-facts-labels'
},
{
title: 'UK Government Dietary Recommendations',
url: 'https://www.gov.uk/government/publications/the-eatwell-guide'
}
]
};
export default Tool;
Browse the implementation files for Nutrition Calculator.