JSPM

  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q82253F
  • License MIT

Abbreviations of Indian Food Composition Tables 2017.

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

@ifct2017/abbreviations

IFCT2017

Abbreviations of Indian Food Composition Tables 2017.
Check supported abbreviations.

const abbreviations = require('@ifct2017/abbreviations');
// abbreviations(<query>)
// -> {abbr, full} if supported, null otherwise.
// abbreviations.corpus: Map {key => {abbr, full}}
// abbreviations.csv: path of csv file

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