JSPM

  • Created
  • Published
  • Downloads 348
  • Score
    100M100P100Q69062F
  • License MIT

Full forms of abbreviations used in the original book.

Package Exports

  • @ifct2017/abbreviations

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ifct2017/abbreviations) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Full forms of abbreviations used in the original book.

This is part of package ifct2017.
Source: Indian Food Composition Tables 2017.

const abbreviations = require('@ifct2017/abbreviations');
// abbreviations.corpus: Map {key => {abbr, full}}
// abbreviations.load(): true (corpus loaded)
// abbreviations.sql([table], [options]): sql commands
// abbreviations.csv(): path of csv file
// abbreviations(<query>)
// -> {abbr, full} if supported, null otherwise.


abbreviations.load();
/* load corpus first */

abbreviations('GLVs');
abbreviations('g l v s');
// Green Leafy Vegetables

abbreviations('what is D.R.I.');
abbreviations('d. r. i. stands for?');
/* (full stops must immediately follow character, if present) */
/* (for single character abbreviations, full stop is mandatory) */
// Dietary reference intake

ifct2017

You can ask about composition of 528 key foods in India here: ifct2017.github.io.
Food composition values were measured by National Institute of Nutrition, Hyderabad.
Take a peek at the raw data here: Document, Webpage.