@nvif1989/abbreviations

1.0.0 • Public • Published

Full forms of abbreviations used in the original book.

This is part of package nvif1989.
Source: Nutritive Value of Indian Foods 1989.

const abbreviations = require('@nvif1989/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('BOAA');
abbreviations('b o a a');
// { abbr: 'BOAA', full: 'Oxalyldiaminopropionic acid' }

abbreviations('what is R.P.O.');
abbreviations('r. p. o. stands for?');
/* (full stops must immediately follow character, if present) */
/* (for single character abbreviations, full stop is mandatory) */
// { abbr: 'RPO', full: 'Red palm oil' }

nvif1989

You can ask about composition of 592 key foods in India here: nvif1989.github.io.
Food composition values were measured by National Institute of Nutrition, Hyderabad.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

Package Sidebar

Install

npm i @nvif1989/abbreviations

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

9.31 kB

Total Files

5

Last publish

Collaborators

  • wolfram77