@ifct2017/pictures
Version:
Single representative photo of each foods (JPEG, 307x173).
55 lines (36 loc) ⢠2.03 kB
Markdown
<!-- Copyright (C) 2025 Subhajit Sahu -->
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
<!-- See LICENSE for full terms -->
This package provides single representative *photo* of each foods in IFCT2017 (JPEG, 307x173). For more details, please refer to the [@nodef/ifct2017](https://jsr.io/@nodef/ifct2017) package.
ā
š¦ [JSR](https://jsr.io/@nodef/ifct2017-pictures),
š° [Docs](https://jsr.io/@nodef/ifct2017-pictures/doc),
<br>
```javascript
import * as pictures from '@nodef/ifct2017-pictures';
// picturesUnpkg(code) ā UNPKG URL | null
// picturesJsDelivr(code) ā jsDelivr URL | null
// pictures(code)
// ā path is present, null otherwise
pictures('A001');
// ā C:\Documents\pictures\A001.jpeg
picturesUnpkg('A001');
// ā https://unpkg.com/@ifct2017/pictures/assets/A001.jpeg
picturesJsDelivr('A001');
// ā https://cdn.jsdelivr.net/npm/@ifct2017/pictures/assets/A001.jpeg
```
<br>
## License
As of 18 April 2025, this project is licensed under AGPL-3.0. Previous versions remain under MIT.
<br>
<br>
> Data was obtained from the book [Indian Food Composition Tables 2017].<br>
> Food composition values were measured by [National Institute of Nutrition, Hyderabad].<br>
[](https://wolfram77.github.io)<br>
[](https://nodef.github.io)

[National Institute of Nutrition, Hyderabad]: https://www.nin.res.in/
[Indian Food Composition Tables 2017]: http://ifct2017.com/
[pictures-doc]: https://docs.google.com/document/d/1UVWVh-wPOR80M2sTy5naIJvR5DUNtf7lbOaPgCNQ9t4/edit?usp=sharing
[pictures-web]: https://docs.google.com/document/d/e/2PACX-1vSyo24GtsTF0wuhKUndF6w5KZa1gZU7kDyDun-6-QZvsO-Hy7Zn2chxxyYa3gSp5kzy-4AQrfHqF0N0/pub
<!-- [](http://ifct2017.com/)<br> -->