Skip to content

ifct2017--pictures 2.0.5

Install from the command line:
Learn more about npm packages
$ npm install @ifct2017/ifct2017--pictures@2.0.5
Install via package.json:
"@ifct2017/ifct2017--pictures": "2.0.5"

About this version

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.

Details


Assets

  • ifct2017--pictures-2.0.5.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0