open-nutrition-engine 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/calculations/index.d.ts.map +1 -1
- package/dist/calculations/index.js.map +1 -1
- package/dist/data/extended_staples.json +91869 -22046
- package/dist/data/index.d.ts.map +1 -1
- package/dist/data/index.js.map +1 -1
- package/package.json +7 -4
- package/src/calculations/index.ts +0 -65
- package/src/data/curries.ts +0 -542
- package/src/data/dairy.ts +0 -328
- package/src/data/dal.ts +0 -221
- package/src/data/drinksDesserts.ts +0 -318
- package/src/data/extended_staples.json +0 -59178
- package/src/data/fruits.ts +0 -249
- package/src/data/grains.ts +0 -992
- package/src/data/index.ts +0 -85
- package/src/data/master/verified_fitness_staples.json +0 -262507
- package/src/data/nonveg.ts +0 -450
- package/src/data/snacks.ts +0 -440
- package/src/index.ts +0 -3
- package/src/types/index.ts +0 -93
package/src/data/fruits.ts
DELETED
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
import type { FoodItem } from '../types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Common fruits eaten across India. Per 100 g edible portion.
|
|
5
|
-
* Serving options use household sizes: small/medium/large and bowls.
|
|
6
|
-
*/
|
|
7
|
-
export const FRUITS: FoodItem[] = [
|
|
8
|
-
{
|
|
9
|
-
id: 'banana',
|
|
10
|
-
name: 'Banana',
|
|
11
|
-
hindiName: 'Kela / Vaazhaipazham',
|
|
12
|
-
category: 'fruits',
|
|
13
|
-
diet: 'veg',
|
|
14
|
-
calories: 89,
|
|
15
|
-
protein: 1.1,
|
|
16
|
-
carbs: 23,
|
|
17
|
-
fat: 0.3,
|
|
18
|
-
servings: [
|
|
19
|
-
{ id: 'small', label: '1 small (90 g)', amount: 90 },
|
|
20
|
-
{ id: 'medium', label: '1 medium (120 g)', amount: 120 },
|
|
21
|
-
{ id: 'large', label: '1 large (150 g)', amount: 150 },
|
|
22
|
-
],
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
id: 'mango',
|
|
26
|
-
name: 'Mango',
|
|
27
|
-
hindiName: 'Aam / Manga',
|
|
28
|
-
category: 'fruits',
|
|
29
|
-
diet: 'veg',
|
|
30
|
-
calories: 60,
|
|
31
|
-
protein: 0.8,
|
|
32
|
-
carbs: 15,
|
|
33
|
-
fat: 0.4,
|
|
34
|
-
servings: [
|
|
35
|
-
{ id: 'medium', label: '1 medium (200 g)', amount: 200 },
|
|
36
|
-
{ id: 'bowl', label: '1 bowl (100 g)', amount: 100 },
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
id: 'apple',
|
|
41
|
-
name: 'Apple',
|
|
42
|
-
hindiName: 'Seb',
|
|
43
|
-
category: 'fruits',
|
|
44
|
-
diet: 'veg',
|
|
45
|
-
calories: 52,
|
|
46
|
-
protein: 0.3,
|
|
47
|
-
carbs: 14,
|
|
48
|
-
fat: 0.2,
|
|
49
|
-
servings: [
|
|
50
|
-
{ id: 'medium', label: '1 medium (180 g)', amount: 180 },
|
|
51
|
-
{ id: '1pc', label: '1 small (130 g)', amount: 130 },
|
|
52
|
-
],
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
id: 'guava',
|
|
56
|
-
name: 'Guava',
|
|
57
|
-
hindiName: 'Amrud / Koyya',
|
|
58
|
-
category: 'fruits',
|
|
59
|
-
diet: 'veg',
|
|
60
|
-
calories: 68,
|
|
61
|
-
protein: 2.6,
|
|
62
|
-
carbs: 14,
|
|
63
|
-
fat: 0.9,
|
|
64
|
-
servings: [
|
|
65
|
-
{ id: 'whole', label: '1 whole (160 g)', amount: 160 },
|
|
66
|
-
{ id: 'half', label: '1/2 fruit (80 g)', amount: 80 },
|
|
67
|
-
],
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
id: 'papaya',
|
|
71
|
-
name: 'Papaya',
|
|
72
|
-
hindiName: 'Papita / Pappali',
|
|
73
|
-
category: 'fruits',
|
|
74
|
-
diet: 'veg',
|
|
75
|
-
calories: 43,
|
|
76
|
-
protein: 0.5,
|
|
77
|
-
carbs: 11,
|
|
78
|
-
fat: 0.3,
|
|
79
|
-
servings: [
|
|
80
|
-
{ id: 'bowl', label: '1 bowl (140 g)', amount: 140 },
|
|
81
|
-
{ id: 'half', label: '1/2 fruit (150 g)', amount: 150 },
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
id: 'watermelon',
|
|
86
|
-
name: 'Watermelon',
|
|
87
|
-
hindiName: 'Tarbooz / Tharbuj',
|
|
88
|
-
category: 'fruits',
|
|
89
|
-
diet: 'veg',
|
|
90
|
-
calories: 30,
|
|
91
|
-
protein: 0.6,
|
|
92
|
-
carbs: 8,
|
|
93
|
-
fat: 0.2,
|
|
94
|
-
servings: [
|
|
95
|
-
{ id: 'bowl', label: '1 bowl (150 g)', amount: 150 },
|
|
96
|
-
{ id: 'slice', label: '1 slice (250 g)', amount: 250 },
|
|
97
|
-
],
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
id: 'orange',
|
|
101
|
-
name: 'Orange',
|
|
102
|
-
hindiName: 'Santra / Orange',
|
|
103
|
-
category: 'fruits',
|
|
104
|
-
diet: 'veg',
|
|
105
|
-
calories: 47,
|
|
106
|
-
protein: 0.9,
|
|
107
|
-
carbs: 12,
|
|
108
|
-
fat: 0.1,
|
|
109
|
-
servings: [
|
|
110
|
-
{ id: 'medium', label: '1 medium (150 g)', amount: 150 },
|
|
111
|
-
{ id: '1pc', label: '1 small (120 g)', amount: 120 },
|
|
112
|
-
],
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
id: 'sweet-lime',
|
|
116
|
-
name: 'Sweet Lime (Mosambi)',
|
|
117
|
-
hindiName: 'Mosambi / Elumichai',
|
|
118
|
-
category: 'fruits',
|
|
119
|
-
diet: 'veg',
|
|
120
|
-
calories: 43,
|
|
121
|
-
protein: 0.7,
|
|
122
|
-
carbs: 11,
|
|
123
|
-
fat: 0.3,
|
|
124
|
-
servings: [
|
|
125
|
-
{ id: 'medium', label: '1 medium (150 g)', amount: 150 },
|
|
126
|
-
{ id: '1pc', label: '1 small (120 g)', amount: 120 },
|
|
127
|
-
],
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
id: 'pomegranate',
|
|
131
|
-
name: 'Pomegranate',
|
|
132
|
-
hindiName: 'Anar / Mathulai',
|
|
133
|
-
category: 'fruits',
|
|
134
|
-
diet: 'veg',
|
|
135
|
-
calories: 83,
|
|
136
|
-
protein: 1.7,
|
|
137
|
-
carbs: 19,
|
|
138
|
-
fat: 1.2,
|
|
139
|
-
servings: [
|
|
140
|
-
{ id: 'half', label: '1/2 fruit (100 g arils)', amount: 100 },
|
|
141
|
-
{ id: 'whole', label: '1 whole (200 g arils)', amount: 200 },
|
|
142
|
-
],
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
id: 'grapes',
|
|
146
|
-
name: 'Grapes',
|
|
147
|
-
hindiName: 'Angoor / Thiratchai',
|
|
148
|
-
category: 'fruits',
|
|
149
|
-
diet: 'veg',
|
|
150
|
-
calories: 69,
|
|
151
|
-
protein: 0.7,
|
|
152
|
-
carbs: 18,
|
|
153
|
-
fat: 0.2,
|
|
154
|
-
servings: [
|
|
155
|
-
{ id: 'bowl', label: '1 bowl (100 g)', amount: 100 },
|
|
156
|
-
{ id: 'small', label: '1 small bunch (60 g)', amount: 60 },
|
|
157
|
-
],
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
id: 'chikoo',
|
|
161
|
-
name: 'Chikoo (Sapota)',
|
|
162
|
-
hindiName: 'Chiku / Sapotta',
|
|
163
|
-
category: 'fruits',
|
|
164
|
-
diet: 'veg',
|
|
165
|
-
calories: 83,
|
|
166
|
-
protein: 0.4,
|
|
167
|
-
carbs: 20,
|
|
168
|
-
fat: 1.1,
|
|
169
|
-
servings: [
|
|
170
|
-
{ id: 'medium', label: '1 medium (120 g)', amount: 120 },
|
|
171
|
-
{ id: '2pc', label: '2 pieces (150 g)', amount: 150 },
|
|
172
|
-
],
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
id: 'jackfruit',
|
|
176
|
-
name: 'Jackfruit (ripe)',
|
|
177
|
-
hindiName: 'Kathal / Pala',
|
|
178
|
-
category: 'fruits',
|
|
179
|
-
diet: 'veg',
|
|
180
|
-
calories: 95,
|
|
181
|
-
protein: 1.7,
|
|
182
|
-
carbs: 23,
|
|
183
|
-
fat: 0.6,
|
|
184
|
-
servings: [
|
|
185
|
-
{ id: 'bowl', label: '1 bowl (100 g)', amount: 100 },
|
|
186
|
-
{ id: '3pc', label: '3 bulbs (75 g)', amount: 75 },
|
|
187
|
-
],
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
id: 'custard-apple',
|
|
191
|
-
name: 'Custard Apple',
|
|
192
|
-
hindiName: 'Sitaphal / Seethapazham',
|
|
193
|
-
category: 'fruits',
|
|
194
|
-
diet: 'veg',
|
|
195
|
-
calories: 101,
|
|
196
|
-
protein: 1.7,
|
|
197
|
-
carbs: 25,
|
|
198
|
-
fat: 0.6,
|
|
199
|
-
servings: [
|
|
200
|
-
{ id: 'medium', label: '1 medium (130 g)', amount: 130 },
|
|
201
|
-
{ id: '2pc', label: '2 fruits (260 g)', amount: 260 },
|
|
202
|
-
],
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
id: 'amla',
|
|
206
|
-
name: 'Indian Gooseberry (Amla)',
|
|
207
|
-
hindiName: 'Amla / Nelli',
|
|
208
|
-
category: 'fruits',
|
|
209
|
-
diet: 'veg',
|
|
210
|
-
calories: 58,
|
|
211
|
-
protein: 0.9,
|
|
212
|
-
carbs: 14,
|
|
213
|
-
fat: 0.6,
|
|
214
|
-
servings: [
|
|
215
|
-
{ id: '2pc', label: '2 pieces (40 g)', amount: 40 },
|
|
216
|
-
{ id: '5pc', label: '5 pieces (100 g)', amount: 100 },
|
|
217
|
-
],
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
id: 'musk-melon',
|
|
221
|
-
name: 'Musk Melon',
|
|
222
|
-
hindiName: 'Kharbooja / Mulam Pazham',
|
|
223
|
-
category: 'fruits',
|
|
224
|
-
diet: 'veg',
|
|
225
|
-
calories: 34,
|
|
226
|
-
protein: 0.8,
|
|
227
|
-
carbs: 8,
|
|
228
|
-
fat: 0.2,
|
|
229
|
-
servings: [
|
|
230
|
-
{ id: 'bowl', label: '1 bowl (150 g)', amount: 150 },
|
|
231
|
-
{ id: 'slice', label: '1 slice (200 g)', amount: 200 },
|
|
232
|
-
],
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
id: 'coconut-flesh',
|
|
236
|
-
name: 'Coconut (mature, raw)',
|
|
237
|
-
hindiName: 'Nariyal / Thengai',
|
|
238
|
-
category: 'fruits',
|
|
239
|
-
diet: 'veg',
|
|
240
|
-
calories: 354,
|
|
241
|
-
protein: 3.3,
|
|
242
|
-
carbs: 15,
|
|
243
|
-
fat: 33,
|
|
244
|
-
servings: [
|
|
245
|
-
{ id: 'piece', label: '1 small piece (45 g)', amount: 45 },
|
|
246
|
-
{ id: 'half', label: '1/2 cup grated (40 g)', amount: 40 },
|
|
247
|
-
],
|
|
248
|
-
},
|
|
249
|
-
];
|