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/src/data/dairy.ts DELETED
@@ -1,328 +0,0 @@
1
- import type { FoodItem } from '../types';
2
-
3
- /**
4
- * Milk, curd, paneer, ghee, buttermilk and protein supplements.
5
- * Liquids are per 100 ml; solids per 100 g.
6
- * Serving options use household glasses, cups and spoons.
7
- */
8
- export const DAIRY: FoodItem[] = [
9
- {
10
- id: 'full-cream-milk',
11
- name: 'Milk (Full Cream)',
12
- hindiName: 'Doodh / Paal',
13
- category: 'dairy',
14
- diet: 'veg',
15
- calories: 61,
16
- protein: 3.2,
17
- carbs: 4.8,
18
- fat: 3.3,
19
- servings: [
20
- { id: '100ml', label: '100 ml', amount: 100 },
21
- { id: '200ml', label: '200 ml', amount: 200 },
22
- { id: '250ml', label: '250 ml', amount: 250 },
23
- ],
24
- },
25
- {
26
- id: 'toned-milk',
27
- name: 'Toned Milk',
28
- hindiName: 'Paal',
29
- category: 'dairy',
30
- diet: 'veg',
31
- calories: 55,
32
- protein: 3,
33
- carbs: 4.9,
34
- fat: 2.7,
35
- servings: [
36
- { id: '100ml', label: '100 ml', amount: 100 },
37
- { id: '200ml', label: '200 ml', amount: 200 },
38
- { id: '250ml', label: '250 ml', amount: 250 },
39
- ],
40
- },
41
- {
42
- id: 'skim-milk',
43
- name: 'Skim Milk',
44
- hindiName: 'Paal',
45
- category: 'dairy',
46
- diet: 'veg',
47
- calories: 34,
48
- protein: 3.4,
49
- carbs: 5,
50
- fat: 0.1,
51
- servings: [
52
- { id: '100ml', label: '100 ml', amount: 100 },
53
- { id: '200ml', label: '200 ml', amount: 200 },
54
- { id: '250ml', label: '250 ml', amount: 250 },
55
- ],
56
- },
57
- {
58
- id: 'curd',
59
- name: 'Curd / Yogurt',
60
- hindiName: 'Dahi / Thayir',
61
- category: 'dairy',
62
- diet: 'veg',
63
- calories: 62,
64
- protein: 3.2,
65
- carbs: 4.7,
66
- fat: 3.3,
67
- servings: [
68
- { id: 'small', label: 'Small cup (100 g)', amount: 100 },
69
- { id: 'medium', label: 'Medium cup (150 g)', amount: 150 },
70
- { id: 'large', label: 'Large cup (200 g)', amount: 200 },
71
- ],
72
- },
73
- {
74
- id: 'greek-yogurt',
75
- name: 'Greek Yogurt',
76
- hindiName: 'Greek Thayir',
77
- category: 'dairy',
78
- diet: 'veg',
79
- calories: 97,
80
- protein: 9,
81
- carbs: 4,
82
- fat: 5,
83
- servings: [
84
- { id: 'small', label: 'Small cup (100 g)', amount: 100 },
85
- { id: 'medium', label: 'Medium cup (150 g)', amount: 150 },
86
- ],
87
- },
88
- {
89
- id: 'paneer',
90
- name: 'Paneer (fresh)',
91
- hindiName: 'Paneer',
92
- category: 'dairy',
93
- diet: 'veg',
94
- calories: 260,
95
- protein: 18,
96
- carbs: 6,
97
- fat: 20,
98
- servings: [
99
- { id: '50g', label: '50 g', amount: 50 },
100
- { id: '100g', label: '100 g (1/4 block)', amount: 100 },
101
- { id: '150g', label: '150 g', amount: 150 },
102
- ],
103
- },
104
- {
105
- id: 'ghee',
106
- name: 'Ghee',
107
- hindiName: 'Nei',
108
- category: 'dairy',
109
- diet: 'veg',
110
- calories: 900,
111
- protein: 0,
112
- carbs: 0,
113
- fat: 100,
114
- servings: [
115
- { id: '1tsp', label: '1 tsp (5 g)', amount: 5 },
116
- { id: '2tsp', label: '2 tsp (10 g)', amount: 10 },
117
- ],
118
- },
119
- {
120
- id: 'butter',
121
- name: 'Butter',
122
- hindiName: 'Vennai',
123
- category: 'dairy',
124
- diet: 'veg',
125
- calories: 717,
126
- protein: 1,
127
- carbs: 0.1,
128
- fat: 81,
129
- servings: [
130
- { id: '1tsp', label: '1 tsp (5 g)', amount: 5 },
131
- { id: '2tsp', label: '2 tsp (10 g)', amount: 10 },
132
- ],
133
- },
134
- {
135
- id: 'buttermilk',
136
- name: 'Buttermilk (Neer Mor)',
137
- hindiName: 'Chaas / Neer Mor',
138
- category: 'dairy',
139
- diet: 'veg',
140
- calories: 25,
141
- protein: 0.9,
142
- carbs: 2.7,
143
- fat: 0.7,
144
- servings: [
145
- { id: '200ml', label: '1 glass (200 ml)', amount: 200 },
146
- { id: '250ml', label: '1 glass (250 ml)', amount: 250 },
147
- ],
148
- },
149
- {
150
- id: 'whey-protein',
151
- name: 'Whey Protein',
152
- hindiName: 'Whey Protein',
153
- category: 'dairy',
154
- diet: 'veg',
155
- calories: 400,
156
- protein: 80,
157
- carbs: 10,
158
- fat: 6,
159
- servings: [
160
- { id: '1scoop', label: '1 scoop (30 g)', amount: 30 },
161
- { id: '2scoops', label: '2 scoops (60 g)', amount: 60 },
162
- ],
163
- },
164
- {
165
- id: 'plant-protein',
166
- name: 'Plant Protein (pea)',
167
- hindiName: 'Plant Protein',
168
- category: 'dairy',
169
- diet: 'veg',
170
- calories: 380,
171
- protein: 75,
172
- carbs: 10,
173
- fat: 5,
174
- servings: [
175
- { id: '1scoop', label: '1 scoop (30 g)', amount: 30 },
176
- { id: '2scoops', label: '2 scoops (60 g)', amount: 60 },
177
- ],
178
- },
179
- {
180
- id: 'low-fat-paneer',
181
- name: 'Low-Fat Paneer',
182
- hindiName: 'Low Fat Paneer',
183
- category: 'dairy',
184
- diet: 'veg',
185
- calories: 160,
186
- protein: 25,
187
- carbs: 4,
188
- fat: 4.5,
189
- servings: [
190
- { id: '50g', label: '50 g', amount: 50 },
191
- { id: '100g', label: '100 g', amount: 100 },
192
- { id: '150g', label: '150 g', amount: 150 },
193
- { id: '200g', label: '200 g (full pack)', amount: 200 },
194
- ],
195
- },
196
- {
197
- id: 'tofu-firm',
198
- name: 'Tofu (Firm / Soya Paneer)',
199
- hindiName: 'Tofu',
200
- category: 'dairy',
201
- diet: 'veg',
202
- calories: 83,
203
- protein: 10,
204
- carbs: 2,
205
- fat: 5,
206
- fiber: 1,
207
- servings: [
208
- { id: '50g', label: '50 g', amount: 50 },
209
- { id: '100g', label: '100 g', amount: 100 },
210
- { id: '150g', label: '150 g', amount: 150 },
211
- { id: '200g', label: '200 g (1 block)', amount: 200 },
212
- ],
213
- },
214
- {
215
- id: 'soya-chunks-raw',
216
- name: 'Soya Chunks (Raw / Dry)',
217
- hindiName: 'Soya Badi',
218
- aliases: ['soya chunks', 'nutrela', 'meal maker', 'soy chunks', 'soya bean chunks', 'dry soya', 'soya-chunks-dry', 'soya badi'],
219
- category: 'dairy',
220
- diet: 'veg',
221
- calories: 345,
222
- protein: 52,
223
- carbs: 33,
224
- fat: 0.5,
225
- fiber: 13,
226
- servings: [
227
- { id: '25g', label: '25 g (small cup dry)', amount: 25 },
228
- { id: '30g', label: '30 g', amount: 30 },
229
- { id: '50g', label: '50 g (standard gym portion)', amount: 50 },
230
- { id: '100g', label: '100 g (large bowl dry)', amount: 100 },
231
- ],
232
- },
233
- {
234
- id: 'soya-chunks-cooked',
235
- name: 'Soya Chunks (Cooked / Boiled)',
236
- hindiName: 'Ubla Soya',
237
- aliases: ['cooked soya chunks', 'boiled soya', 'meal maker cooked', 'boiled nutrela'],
238
- category: 'dairy',
239
- diet: 'veg',
240
- calories: 115,
241
- protein: 17,
242
- carbs: 11,
243
- fat: 0.2,
244
- fiber: 4.3,
245
- servings: [
246
- { id: 'cup', label: '1 cup (100 g)', amount: 100 },
247
- { id: 'bowl', label: '1 bowl (150 g)', amount: 150 },
248
- { id: 'plate', label: '1 plate (200 g)', amount: 200 },
249
- ],
250
- },
251
- {
252
- id: 'amul-high-protein-lassi',
253
- name: 'Amul High Protein Lassi',
254
- hindiName: 'Amul Protein Lassi',
255
- category: 'dairy',
256
- diet: 'veg',
257
- calories: 65,
258
- protein: 7.5,
259
- carbs: 6,
260
- fat: 1,
261
- servings: [
262
- { id: 'pack', label: '1 pack (200 ml)', amount: 200 },
263
- ],
264
- },
265
- {
266
- id: 'amul-high-protein-buttermilk',
267
- name: 'Amul High Protein Buttermilk',
268
- hindiName: 'Amul Protein Chaas',
269
- category: 'dairy',
270
- diet: 'veg',
271
- calories: 45,
272
- protein: 7.5,
273
- carbs: 2.5,
274
- fat: 0.5,
275
- servings: [
276
- { id: 'pack', label: '1 pack (200 ml)', amount: 200 },
277
- ],
278
- },
279
- {
280
- id: 'amul-high-protein-paneer',
281
- name: 'Amul High Protein Paneer',
282
- hindiName: 'Amul Protein Paneer',
283
- category: 'dairy',
284
- diet: 'veg',
285
- calories: 180,
286
- protein: 25,
287
- carbs: 4,
288
- fat: 7,
289
- servings: [
290
- { id: 'half', label: '100 g (1/2 block)', amount: 100 },
291
- { id: 'full', label: '200 g (1 block)', amount: 200 },
292
- ],
293
- },
294
- {
295
- id: 'peanut-butter',
296
- name: 'Peanut Butter (Unsweetened)',
297
- hindiName: 'Peanut Butter',
298
- aliases: ['peanut butter', 'pb', 'pintola', 'myfitness', 'alpino', 'unsweetened peanut butter'],
299
- category: 'dairy',
300
- diet: 'veg',
301
- calories: 625,
302
- protein: 30,
303
- carbs: 20,
304
- fat: 50,
305
- fiber: 8,
306
- servings: [
307
- { id: '1tbsp', label: '1 tbsp (16 g)', amount: 16 },
308
- { id: '2tbsp', label: '2 tbsp (32 g)', amount: 32 },
309
- ],
310
- },
311
- {
312
- id: 'casein-protein',
313
- name: 'Micellar Casein Protein',
314
- hindiName: 'Casein Protein',
315
- aliases: ['casein', 'micellar casein', 'night protein', 'slow release protein'],
316
- category: 'dairy',
317
- diet: 'veg',
318
- calories: 360,
319
- protein: 78,
320
- carbs: 4,
321
- fat: 2,
322
- fiber: 0.5,
323
- servings: [
324
- { id: '1scoop', label: '1 scoop (33 g)', amount: 33 },
325
- { id: '2scoops', label: '2 scoops (66 g)', amount: 66 },
326
- ],
327
- },
328
- ];
package/src/data/dal.ts DELETED
@@ -1,221 +0,0 @@
1
- import type { FoodItem } from '../types';
2
-
3
- /**
4
- * Sambar, rasam and lentil dals - the Indian meal accompaniments.
5
- * All nutrition figures are per 100 g, cooked with tadka.
6
- * Serving options use household bowls.
7
- */
8
- export const DAL: FoodItem[] = [
9
- {
10
- id: 'sambar',
11
- name: 'Sambar',
12
- hindiName: 'Sambar',
13
- category: 'dal',
14
- diet: 'veg',
15
- calories: 70,
16
- protein: 3,
17
- carbs: 11,
18
- fat: 1.5,
19
- servings: [
20
- { id: 'small', label: 'Small bowl (100 ml)', amount: 100 },
21
- { id: 'medium', label: 'Medium bowl (180 ml)', amount: 180 },
22
- { id: 'large', label: 'Large bowl (250 ml)', amount: 250 },
23
- ],
24
- },
25
- {
26
- id: 'rasam',
27
- name: 'Rasam',
28
- hindiName: 'Rasam',
29
- category: 'dal',
30
- diet: 'veg',
31
- calories: 30,
32
- protein: 1.5,
33
- carbs: 5,
34
- fat: 0.5,
35
- servings: [
36
- { id: 'small', label: 'Small bowl (100 ml)', amount: 100 },
37
- { id: 'medium', label: 'Medium bowl (180 ml)', amount: 180 },
38
- { id: 'large', label: 'Large bowl (250 ml)', amount: 250 },
39
- ],
40
- },
41
- {
42
- id: 'toor-dal',
43
- name: 'Plain Dal (Toor)',
44
- hindiName: 'Toor Dal / Paruppu',
45
- category: 'dal',
46
- diet: 'veg',
47
- calories: 100,
48
- protein: 7,
49
- carbs: 16,
50
- fat: 2,
51
- servings: [
52
- { id: 'small', label: 'Small bowl (100 g)', amount: 100 },
53
- { id: 'medium', label: 'Medium bowl (180 g)', amount: 180 },
54
- { id: 'large', label: 'Large bowl (250 g)', amount: 250 },
55
- ],
56
- },
57
- {
58
- id: 'moong-dal',
59
- name: 'Moong Dal',
60
- hindiName: 'Payatham Paruppu',
61
- category: 'dal',
62
- diet: 'veg',
63
- calories: 100,
64
- protein: 7,
65
- carbs: 16,
66
- fat: 2,
67
- servings: [
68
- { id: 'small', label: 'Small bowl (100 g)', amount: 100 },
69
- { id: 'medium', label: 'Medium bowl (180 g)', amount: 180 },
70
- { id: 'large', label: 'Large bowl (250 g)', amount: 250 },
71
- ],
72
- },
73
- {
74
- id: 'masoor-dal',
75
- name: 'Masoor Dal',
76
- hindiName: 'Masoor Paruppu',
77
- category: 'dal',
78
- diet: 'veg',
79
- calories: 105,
80
- protein: 8,
81
- carbs: 16,
82
- fat: 1.5,
83
- servings: [
84
- { id: 'small', label: 'Small bowl (100 g)', amount: 100 },
85
- { id: 'medium', label: 'Medium bowl (180 g)', amount: 180 },
86
- { id: 'large', label: 'Large bowl (250 g)', amount: 250 },
87
- ],
88
- },
89
- {
90
- id: 'spinach-dal',
91
- name: 'Spinach Dal',
92
- hindiName: 'Palak Paruppu',
93
- category: 'dal',
94
- diet: 'veg',
95
- calories: 90,
96
- protein: 6,
97
- carbs: 15,
98
- fat: 2,
99
- servings: [
100
- { id: 'small', label: 'Small bowl (100 g)', amount: 100 },
101
- { id: 'medium', label: 'Medium bowl (180 g)', amount: 180 },
102
- { id: 'large', label: 'Large bowl (250 g)', amount: 250 },
103
- ],
104
- },
105
- {
106
- id: 'tomato-dal',
107
- name: 'Tomato Dal',
108
- hindiName: 'Thakkali Paruppu / Tomato Pappu',
109
- category: 'dal',
110
- diet: 'veg',
111
- calories: 95,
112
- protein: 6,
113
- carbs: 15,
114
- fat: 2.5,
115
- fiber: 3.5,
116
- servings: [
117
- { id: 'small', label: 'Small bowl (100 g)', amount: 100 },
118
- { id: 'medium', label: 'Medium bowl (180 g)', amount: 180 },
119
- { id: 'large', label: 'Large bowl (250 g)', amount: 250 },
120
- ],
121
- },
122
- {
123
- id: 'gongura-pappu',
124
- name: 'Andhra Gongura Pappu',
125
- hindiName: 'Gongura Dal',
126
- category: 'dal',
127
- diet: 'veg',
128
- calories: 90,
129
- protein: 6,
130
- carbs: 13,
131
- fat: 2,
132
- fiber: 3,
133
- servings: [
134
- { id: 'small', label: 'Small bowl (100 g)', amount: 100 },
135
- { id: 'medium', label: 'Medium bowl (180 g)', amount: 180 },
136
- { id: 'large', label: 'Large bowl (250 g)', amount: 250 },
137
- ],
138
- },
139
- {
140
- id: 'kala-chana-boiled',
141
- name: 'Boiled Kala Chana (Black Chickpeas)',
142
- hindiName: 'Ubla Kala Chana / Sundal',
143
- category: 'dal',
144
- diet: 'veg',
145
- calories: 164,
146
- protein: 9,
147
- carbs: 27,
148
- fat: 2.6,
149
- fiber: 7.6,
150
- servings: [
151
- { id: 'small', label: 'Small bowl (100 g)', amount: 100 },
152
- { id: 'medium', label: 'Medium bowl (150 g)', amount: 150 },
153
- { id: 'large', label: 'Large bowl (200 g)', amount: 200 },
154
- ],
155
- },
156
- {
157
- id: 'chole-boiled',
158
- name: 'Boiled Kabuli Chana (Chole)',
159
- hindiName: 'Ubla Safed Chana',
160
- category: 'dal',
161
- diet: 'veg',
162
- calories: 164,
163
- protein: 8.9,
164
- carbs: 27.4,
165
- fat: 2.6,
166
- fiber: 7.6,
167
- servings: [
168
- { id: 'small', label: 'Small bowl (100 g)', amount: 100 },
169
- { id: 'medium', label: 'Medium bowl (150 g)', amount: 150 },
170
- { id: 'large', label: 'Large bowl (200 g)', amount: 200 },
171
- ],
172
- },
173
- {
174
- id: 'sprouted-moong-raw',
175
- name: 'Sprouted Moong (Raw)',
176
- hindiName: 'Ankurit Moong',
177
- category: 'dal',
178
- diet: 'veg',
179
- calories: 30,
180
- protein: 3,
181
- carbs: 6,
182
- fat: 0.2,
183
- fiber: 1.8,
184
- servings: [
185
- { id: 'cup', label: '1 small cup (50 g)', amount: 50 },
186
- { id: 'bowl', label: '1 bowl (100 g)', amount: 100 },
187
- ],
188
- },
189
- {
190
- id: 'sprouted-moong-steamed',
191
- name: 'Sprouted Moong Sundal (Steamed)',
192
- hindiName: 'Pasi Payaru Sundal',
193
- category: 'dal',
194
- diet: 'veg',
195
- calories: 105,
196
- protein: 7,
197
- carbs: 17,
198
- fat: 1,
199
- fiber: 4,
200
- servings: [
201
- { id: 'small', label: 'Small bowl (100 g)', amount: 100 },
202
- { id: 'medium', label: 'Medium bowl (150 g)', amount: 150 },
203
- ],
204
- },
205
- {
206
- id: 'rajma-cooked',
207
- name: 'Rajma Curry (Kidney Beans)',
208
- hindiName: 'Rajma Masala',
209
- category: 'dal',
210
- diet: 'veg',
211
- calories: 125,
212
- protein: 7.5,
213
- carbs: 20,
214
- fat: 2.5,
215
- fiber: 6,
216
- servings: [
217
- { id: 'small', label: 'Small bowl (150 g)', amount: 150 },
218
- { id: 'medium', label: 'Medium bowl (200 g)', amount: 200 },
219
- ],
220
- },
221
- ];