Package Exports
- @ifct2017/columns
- @ifct2017/columns/corpus
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/columns) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@ifct2017/columns
Columns in Indian Food Composition Tables 2017.
Check available columns.
const columns = require('@ifct2017/columns');
// columns(<query>)
// -> [{code, name, tags}] for matched columns
// columns.corpus: Map {code => {code, name, tags}}
// columns,csv(): path to csv file
columns('vitamin c');
columns('c-vitamin');
// [ { code: 'vitc',
// name: 'Total Ascorbic acid',
// tags: 'ascorbate water soluble vitamin c vitamin c essential' } ]
columns('what is butyric acid?');
columns('c4:0 stands for?');
// [ { code: 'f4d0',
// name: 'Butyric acid (C4:0)',
// tags: 'c40 c 40 4 0 bta butanoic propanecarboxylic carboxylic saturated fatty fat triglyceride lipid colorless liquid unpleasant vomit body odor' } ]