Single representative photo of each foods (JPEG, 307x173).
📦 Node.js,
📜 Files.
This is part of package ifct2017.
Online database: ifct2017.github.io.
const pictures = require('@ifct2017/pictures');
// pictures(code)
// → path is present, null otherwise
pictures('A001');
// C:\Documents\pictures\A001.jpeg
pictures.unpkg('A001');
// https://unpkg.com/@ifct2017/pictures/assets/A001.jpeg
pictures.jsDelivr('A001');
// https://cdn.jsdelivr.net/npm/@ifct2017/pictures/assets/A001.jpeg
// Additional methods:
pictures.unpkg(code) // → UNPKG URL | null
pictures.jsDelivr(code) // → jsDelivr URL | null
Data was obtained from the book Indian Food Composition Tables 2017.
Food composition values were measured by National Institute of Nutrition, Hyderabad.
Take a peek at the raw data here: Document, Webpage.