Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@ifct2017/columns

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ifct2017/columns

Codes and names of nutrients, and its components.

latest
Source
npmnpm
Version
2.0.13
Version published
Weekly downloads
681
-13.58%
Maintainers
1
Weekly downloads
 
Created
Source

Codes and names of nutrients, and its components.
📦 Node.js, 📜 Files.

This is part of package ifct2017.
Online database: ifct2017.github.io.


const columns = require('@ifct2017/columns');
// columns(query)
// → matches [{code, name, tags}]


columns('vitamin c');
columns('c-vitamin');
// [ { code: 'vitc',
//     name: 'Ascorbic acids (C)',
//     tags: 'total 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' } ]
// Additional methods:
columns.load() // → corpus
columns.sql([table], [options]) // → sql statements
columns.csv() // → path of csv file



ORG DOI

Data was obtained from the book Indian Food Composition Tables 2017.
Food composition values were measured by National Institute of Nutrition, Hyderabad.

Keywords

ifct

FAQs

Package last updated on 17 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts