@ifct2017/pictures
TypeScript icon, indicating that this package has built-in type declarations

2.0.6 • Public • Published

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



ORG DOI

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.

Package Sidebar

Install

npm i @ifct2017/pictures

Weekly Downloads

34

Version

2.0.6

License

MIT

Unpacked Size

6.12 MB

Total Files

450

Last publish

Collaborators

  • wolfram77