Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ifct2017/pictures

nodef2.9kAGPL-3.0-only3.0.1

Single representative photo of each foods (JPEG, 307x173).

ifct, 2017, pictures

readme

This package provides single representative photo of each foods in IFCT2017 (JPEG, 307x173). For more details, please refer to the @nodef/ifct2017 package.

▌ 📦 JSR, 📰 Docs,


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

License

As of 18 April 2025, this project is licensed under AGPL-3.0. Previous versions remain under MIT.



Data was obtained from the book Indian Food Composition Tables 2017.
Food composition values were measured by National Institute of Nutrition, Hyderabad.


ORG