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
|
@@ -1,318 +0,0 @@
|
|
|
1
|
-
import type { FoodItem } from '../types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Indian drinks (per 100 ml) and desserts (per 100 g).
|
|
5
|
-
* Serving options use household glasses, cups and bowls.
|
|
6
|
-
*/
|
|
7
|
-
export const DRINKS_DESSERTS: FoodItem[] = [
|
|
8
|
-
// ───────────────────────────── Drinks ─────────────────────────────
|
|
9
|
-
{
|
|
10
|
-
id: 'filter-coffee',
|
|
11
|
-
name: 'Filter Coffee (milk)',
|
|
12
|
-
hindiName: 'Kaapi',
|
|
13
|
-
category: 'drinks',
|
|
14
|
-
diet: 'veg',
|
|
15
|
-
calories: 30,
|
|
16
|
-
protein: 0.8,
|
|
17
|
-
carbs: 4.5,
|
|
18
|
-
fat: 0.8,
|
|
19
|
-
servings: [
|
|
20
|
-
{ id: 'cup', label: '1 cup (200 ml)', amount: 200 },
|
|
21
|
-
{ id: 'glass', label: '1 glass (250 ml)', amount: 250 },
|
|
22
|
-
],
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
id: 'tender-coconut-water',
|
|
26
|
-
name: 'Tender Coconut Water',
|
|
27
|
-
hindiName: 'Nariyal Pani / Ilaneer',
|
|
28
|
-
category: 'drinks',
|
|
29
|
-
diet: 'veg',
|
|
30
|
-
calories: 19,
|
|
31
|
-
protein: 0.7,
|
|
32
|
-
carbs: 3.7,
|
|
33
|
-
fat: 0.2,
|
|
34
|
-
servings: [
|
|
35
|
-
{ id: 'glass', label: '1 glass (250 ml)', amount: 250 },
|
|
36
|
-
{ id: 'coconut', label: '1 tender coconut (300 ml)', amount: 300 },
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
id: 'sweet-lassi',
|
|
41
|
-
name: 'Sweet Lassi',
|
|
42
|
-
hindiName: 'Lassi / Mor',
|
|
43
|
-
category: 'drinks',
|
|
44
|
-
diet: 'veg',
|
|
45
|
-
calories: 70,
|
|
46
|
-
protein: 1.5,
|
|
47
|
-
carbs: 11,
|
|
48
|
-
fat: 2,
|
|
49
|
-
servings: [
|
|
50
|
-
{ id: 'glass', label: '1 glass (250 ml)', amount: 250 },
|
|
51
|
-
{ id: 'cup', label: '1 cup (200 ml)', amount: 200 },
|
|
52
|
-
],
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
id: 'mango-lassi',
|
|
56
|
-
name: 'Mango Lassi',
|
|
57
|
-
hindiName: 'Mango Lassi',
|
|
58
|
-
category: 'drinks',
|
|
59
|
-
diet: 'veg',
|
|
60
|
-
calories: 90,
|
|
61
|
-
protein: 1.5,
|
|
62
|
-
carbs: 15,
|
|
63
|
-
fat: 2.5,
|
|
64
|
-
servings: [
|
|
65
|
-
{ id: 'glass', label: '1 glass (250 ml)', amount: 250 },
|
|
66
|
-
{ id: 'cup', label: '1 cup (200 ml)', amount: 200 },
|
|
67
|
-
],
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
id: 'masala-chai',
|
|
71
|
-
name: 'Masala Chai',
|
|
72
|
-
hindiName: 'Chai',
|
|
73
|
-
category: 'drinks',
|
|
74
|
-
diet: 'veg',
|
|
75
|
-
calories: 45,
|
|
76
|
-
protein: 1.2,
|
|
77
|
-
carbs: 5,
|
|
78
|
-
fat: 2.2,
|
|
79
|
-
servings: [
|
|
80
|
-
{ id: 'cup', label: '1 cup (200 ml)', amount: 200 },
|
|
81
|
-
{ id: 'small', label: '1 small cup (150 ml)', amount: 150 },
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
// ───────────────────────────── Desserts ─────────────────────────────
|
|
86
|
-
{
|
|
87
|
-
id: 'payasam',
|
|
88
|
-
name: 'Payasam (rice)',
|
|
89
|
-
hindiName: 'Payasam',
|
|
90
|
-
category: 'desserts',
|
|
91
|
-
diet: 'veg',
|
|
92
|
-
calories: 120,
|
|
93
|
-
protein: 3,
|
|
94
|
-
carbs: 20,
|
|
95
|
-
fat: 3.5,
|
|
96
|
-
servings: [
|
|
97
|
-
{ id: 'bowl', label: '1 bowl (150 g)', amount: 150 },
|
|
98
|
-
{ id: 'katori', label: '1 katori (100 g)', amount: 100 },
|
|
99
|
-
],
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
id: 'kesari',
|
|
103
|
-
name: 'Kesari (sooji)',
|
|
104
|
-
hindiName: 'Kesari',
|
|
105
|
-
category: 'desserts',
|
|
106
|
-
diet: 'veg',
|
|
107
|
-
calories: 220,
|
|
108
|
-
protein: 3,
|
|
109
|
-
carbs: 35,
|
|
110
|
-
fat: 8,
|
|
111
|
-
servings: [
|
|
112
|
-
{ id: 'serving', label: '1 serving (80 g)', amount: 80 },
|
|
113
|
-
{ id: 'katori', label: '1 katori (100 g)', amount: 100 },
|
|
114
|
-
],
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
id: 'mysore-pak',
|
|
118
|
-
name: 'Mysore Pak',
|
|
119
|
-
hindiName: 'Mysore Pak',
|
|
120
|
-
category: 'desserts',
|
|
121
|
-
diet: 'veg',
|
|
122
|
-
calories: 480,
|
|
123
|
-
protein: 5,
|
|
124
|
-
carbs: 45,
|
|
125
|
-
fat: 32,
|
|
126
|
-
servings: [
|
|
127
|
-
{ id: '1pc', label: '1 piece (25 g)', amount: 25 },
|
|
128
|
-
{ id: '2pc', label: '2 pieces (50 g)', amount: 50 },
|
|
129
|
-
],
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
id: 'laddu',
|
|
133
|
-
name: 'Laddu (motichoor)',
|
|
134
|
-
hindiName: 'Laddu',
|
|
135
|
-
category: 'desserts',
|
|
136
|
-
diet: 'veg',
|
|
137
|
-
calories: 400,
|
|
138
|
-
protein: 5,
|
|
139
|
-
carbs: 60,
|
|
140
|
-
fat: 16,
|
|
141
|
-
servings: [
|
|
142
|
-
{ id: '1pc', label: '1 laddu (30 g)', amount: 30 },
|
|
143
|
-
{ id: '2pc', label: '2 laddu (60 g)', amount: 60 },
|
|
144
|
-
],
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
id: 'kheer',
|
|
148
|
-
name: 'Kheer',
|
|
149
|
-
hindiName: 'Payasam',
|
|
150
|
-
category: 'desserts',
|
|
151
|
-
diet: 'veg',
|
|
152
|
-
calories: 140,
|
|
153
|
-
protein: 4,
|
|
154
|
-
carbs: 22,
|
|
155
|
-
fat: 4.5,
|
|
156
|
-
servings: [
|
|
157
|
-
{ id: 'bowl', label: '1 bowl (150 g)', amount: 150 },
|
|
158
|
-
{ id: 'katori', label: '1 katori (100 g)', amount: 100 },
|
|
159
|
-
],
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
id: 'black-coffee',
|
|
163
|
-
name: 'Black Coffee (Unsweetened)',
|
|
164
|
-
hindiName: 'Black Coffee',
|
|
165
|
-
category: 'drinks',
|
|
166
|
-
diet: 'veg',
|
|
167
|
-
calories: 2,
|
|
168
|
-
protein: 0.1,
|
|
169
|
-
carbs: 0.3,
|
|
170
|
-
fat: 0,
|
|
171
|
-
servings: [
|
|
172
|
-
{ id: 'cup', label: '1 cup (200 ml)', amount: 200 },
|
|
173
|
-
{ id: 'mug', label: '1 mug (300 ml)', amount: 300 },
|
|
174
|
-
],
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
id: 'black-tea',
|
|
178
|
-
name: 'Black Tea (Unsweetened)',
|
|
179
|
-
hindiName: 'Black Tea',
|
|
180
|
-
category: 'drinks',
|
|
181
|
-
diet: 'veg',
|
|
182
|
-
calories: 1,
|
|
183
|
-
protein: 0.1,
|
|
184
|
-
carbs: 0.2,
|
|
185
|
-
fat: 0,
|
|
186
|
-
servings: [
|
|
187
|
-
{ id: 'cup', label: '1 cup (200 ml)', amount: 200 },
|
|
188
|
-
{ id: 'mug', label: '1 mug (300 ml)', amount: 300 },
|
|
189
|
-
],
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
id: 'green-tea',
|
|
193
|
-
name: 'Green Tea (Unsweetened)',
|
|
194
|
-
hindiName: 'Green Tea',
|
|
195
|
-
category: 'drinks',
|
|
196
|
-
diet: 'veg',
|
|
197
|
-
calories: 1,
|
|
198
|
-
protein: 0.1,
|
|
199
|
-
carbs: 0.2,
|
|
200
|
-
fat: 0,
|
|
201
|
-
servings: [
|
|
202
|
-
{ id: 'cup', label: '1 cup (200 ml)', amount: 200 },
|
|
203
|
-
],
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
id: 'filter-coffee-no-sugar',
|
|
207
|
-
name: 'Filter Coffee (No Sugar)',
|
|
208
|
-
hindiName: 'Sugar-free Kaapi',
|
|
209
|
-
category: 'drinks',
|
|
210
|
-
diet: 'veg',
|
|
211
|
-
calories: 22,
|
|
212
|
-
protein: 1,
|
|
213
|
-
carbs: 1.8,
|
|
214
|
-
fat: 1.2,
|
|
215
|
-
servings: [
|
|
216
|
-
{ id: 'cup', label: '1 cup (150 ml)', amount: 150 },
|
|
217
|
-
{ id: 'tumbler', label: '1 tumbler (200 ml)', amount: 200 },
|
|
218
|
-
],
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
id: 'lime-water-salted',
|
|
222
|
-
name: 'Fresh Lime Water (Salted / No Sugar)',
|
|
223
|
-
hindiName: 'Nimbu Pani',
|
|
224
|
-
category: 'drinks',
|
|
225
|
-
diet: 'veg',
|
|
226
|
-
calories: 5,
|
|
227
|
-
protein: 0.1,
|
|
228
|
-
carbs: 1.2,
|
|
229
|
-
fat: 0,
|
|
230
|
-
servings: [
|
|
231
|
-
{ id: 'glass', label: '1 glass (250 ml)', amount: 250 },
|
|
232
|
-
{ id: 'large', label: '1 large glass (350 ml)', amount: 350 },
|
|
233
|
-
],
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
id: 'masala-chai-sugar',
|
|
237
|
-
name: 'Masala Chai (with Milk & Sugar)',
|
|
238
|
-
hindiName: 'Chai with Sugar',
|
|
239
|
-
aliases: ['chai', 'tea', 'milk tea', 'cutting chai', 'adrak chai', 'masala chai', 'sweet tea'],
|
|
240
|
-
category: 'drinks',
|
|
241
|
-
diet: 'veg',
|
|
242
|
-
calories: 65,
|
|
243
|
-
protein: 2,
|
|
244
|
-
carbs: 8,
|
|
245
|
-
fat: 2.8,
|
|
246
|
-
servings: [
|
|
247
|
-
{ id: 'cutting', label: '1 cutting / small cup (100 ml)', amount: 100 },
|
|
248
|
-
{ id: 'cup', label: '1 standard cup (150 ml)', amount: 150 },
|
|
249
|
-
{ id: 'mug', label: '1 large mug (250 ml)', amount: 250 },
|
|
250
|
-
],
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
id: 'chai-sugarless',
|
|
254
|
-
name: 'Tea / Chai (Sugarless / No Sugar)',
|
|
255
|
-
hindiName: 'Phiki Chai',
|
|
256
|
-
aliases: ['sugarless tea', 'tea without sugar', 'sugar free tea', 'sugarless chai', 'phiki chai'],
|
|
257
|
-
category: 'drinks',
|
|
258
|
-
diet: 'veg',
|
|
259
|
-
calories: 30,
|
|
260
|
-
protein: 2,
|
|
261
|
-
carbs: 2.5,
|
|
262
|
-
fat: 1.3,
|
|
263
|
-
servings: [
|
|
264
|
-
{ id: 'cup', label: '1 standard cup (150 ml)', amount: 150 },
|
|
265
|
-
{ id: 'mug', label: '1 large mug (250 ml)', amount: 250 },
|
|
266
|
-
],
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
id: 'filter-coffee-sugar',
|
|
270
|
-
name: 'Filter Coffee (with Sugar)',
|
|
271
|
-
hindiName: 'Filter Kaapi',
|
|
272
|
-
aliases: ['coffee', 'filter coffee', 'kaapi', 'milk coffee', 'nescafe', 'sweet coffee'],
|
|
273
|
-
category: 'drinks',
|
|
274
|
-
diet: 'veg',
|
|
275
|
-
calories: 75,
|
|
276
|
-
protein: 2.2,
|
|
277
|
-
carbs: 9,
|
|
278
|
-
fat: 3.2,
|
|
279
|
-
servings: [
|
|
280
|
-
{ id: 'cup', label: '1 standard tumbler / cup (150 ml)', amount: 150 },
|
|
281
|
-
{ id: 'mug', label: '1 large mug (250 ml)', amount: 250 },
|
|
282
|
-
],
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
id: 'gulab-jamun',
|
|
286
|
-
name: 'Gulab Jamun',
|
|
287
|
-
hindiName: 'Gulab Jamun',
|
|
288
|
-
aliases: ['gulab jamun', 'jamun', 'kala jamun'],
|
|
289
|
-
category: 'desserts',
|
|
290
|
-
diet: 'veg',
|
|
291
|
-
calories: 320,
|
|
292
|
-
protein: 4.5,
|
|
293
|
-
carbs: 52,
|
|
294
|
-
fat: 10.5,
|
|
295
|
-
fiber: 0.5,
|
|
296
|
-
servings: [
|
|
297
|
-
{ id: '1pc', label: '1 piece (50 g)', amount: 50 },
|
|
298
|
-
{ id: '2pc', label: '2 pieces (100 g)', amount: 100 },
|
|
299
|
-
],
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
id: 'rasgulla',
|
|
303
|
-
name: 'Rasgulla',
|
|
304
|
-
hindiName: 'Roshogolla',
|
|
305
|
-
aliases: ['rasgulla', 'roshogolla', 'bengali rasgulla'],
|
|
306
|
-
category: 'desserts',
|
|
307
|
-
diet: 'veg',
|
|
308
|
-
calories: 185,
|
|
309
|
-
protein: 4,
|
|
310
|
-
carbs: 38,
|
|
311
|
-
fat: 1.8,
|
|
312
|
-
fiber: 0.2,
|
|
313
|
-
servings: [
|
|
314
|
-
{ id: '1pc', label: '1 piece (50 g)', amount: 50 },
|
|
315
|
-
{ id: '2pc', label: '2 pieces (100 g)', amount: 100 },
|
|
316
|
-
],
|
|
317
|
-
},
|
|
318
|
-
];
|