@ifct2017/pictures
v3.0.1
Published
Single representative photo of each foods (JPEG, 307x173).
Readme
This package provides single representative photo of each foods in IFCT2017 (JPEG, 307x173). For more details, please refer to the @nodef/ifct2017 package.
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.jpegLicense
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.

