forked from foodTrackingApplication/scratchProject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scratch.js
98 lines (98 loc) · 2.82 KB
/
scratch.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
const nutriments = {nutriments: {
"carbohydrates" : 26.9,
"carbohydrates_100g": 26.9,
"carbohydrates_prepared": 35.5,
"carbohydrates_prepared_100g": 35.5,
"carbohydrates_prepared_unit": "g",
"carbohydrates_prepared_value": 35.5,
"carbohydrates_unit": "g",
"carbohydrates_value": 26.9,
"energy": 772,
"energy-kcal": 180,
"energy-kcal_100g": 180,
"energy-kcal_prepared": 231,
"energy-kcal_prepared_100g": 231,
"energy-kcal_prepared_unit": "kcal",
"energy-kcal_prepared_value": 231,
"energy-kcal_unit": "kcal",
"energy-kcal_value": 180,
"energy-kj": 772,
"energy-kj_100g": 772,
"energy-kj_prepared": 970,
"energy-kj_prepared_100g": 970,
"energy-kj_prepared_unit": "kJ",
"energy-kj_prepared_value": 970,
"energy-kj_unit": "kJ",
"energy-kj_value": 772,
"energy_100g": 772,
"energy_prepared": 970,
"energy_prepared_100g": 970,
"energy_prepared_unit": "kJ",
"energy_prepared_value": 970,
"energy_unit": "kJ",
"energy_value": 772,
"fat": 7,
"fat_100g": 7,
"fat_prepared": 7.7,
"fat_prepared_100g": 7.7,
"fat_prepared_unit": "g",
"fat_prepared_value": 7.7,
"fat_unit": "g",
"fat_value": 7,
"fiber": 2.3,
"fiber_100g": 2.3,
"fiber_prepared": 3.3,
"fiber_prepared_100g": 3.3,
"fiber_prepared_unit": "g",
"fiber_prepared_value": 3.3,
"fiber_unit": "g",
"fiber_value": 2.3,
"fruits-vegetables-nuts-estimate-from-ingredients_100g": 0,
"fruits-vegetables-nuts-estimate-from-ingredients_serving": 0,
"nova-group": 4,
"nova-group_100g": 4,
"nova-group_serving": 4,
"nutrition-score-fr": 0,
"nutrition-score-fr_100g": 0,
"proteins": 2.3,
"proteins_100g": 2.3,
"proteins_prepared": 3.1,
"proteins_prepared_100g": 3.1,
"proteins_prepared_unit": "g",
"proteins_prepared_value": 3.1,
"proteins_unit": "g",
"proteins_value": 2.3,
"salt": 0.4,
"salt_100g": 0.4,
"salt_prepared": 0.6,
"salt_prepared_100g": 0.6,
"salt_prepared_unit": "g",
"salt_prepared_value": 0.6,
"salt_unit": "g",
"salt_value": 0.4,
"saturated-fat": 0.8,
"saturated-fat_100g": 0.8,
"saturated-fat_prepared": 0.9,
"saturated-fat_prepared_100g": 0.9,
"saturated-fat_prepared_unit": "g",
"saturated-fat_prepared_value": 0.9,
"saturated-fat_unit": "g",
"saturated-fat_value": 0.8,
"sodium": 0.16,
"sodium_100g": 0.16,
"sodium_prepared": 0.24,
"sodium_prepared_100g": 0.24,
"sodium_prepared_unit": "g",
"sodium_prepared_value": 0.24,
"sodium_unit": "g",
"sodium_value": 0.16,
"sugars": 0.2,
"sugars_100g": 0.2,
"sugars_prepared": 0.4,
"sugars_prepared_100g": 0.4,
"sugars_prepared_unit": "g",
"sugars_prepared_value": 0.4,
"sugars_unit": "g",
"sugars_value": 0.2
}
}