
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
@ifct2017/codes
Advanced tools
Uniquely identifiable codes for each food.
📦 Node.js,
📜 Files.
This is part of package ifct2017.
Online database: ifct2017.github.io.
const codes = require('@ifct2017/codes');
// codes(query)
// → matches [{name, code}]
await codes.load();
/// Load corpus first
codes('mango green');
codes('Raw mango');
// [ { name: 'Mango, green, raw (Common)', code: 'D057' } ]
codes('what is food code of atta?');
codes('atta code');
// [ { name: 'Atta (H., P.)', code: 'A019' },
// { name: 'Gahama atta (O.)', code: 'A019' },
// { name: 'Wheat flour, atta (Common)', code: 'A019' } ]
// Additional methods:
codes.load() // → corpus (promise)
codes.sql([table], [options]) // → sql statements (promise)
codes.csv() // → path of csv file
Data was obtained from the book Indian Food Composition Tables 2017.
Food composition values were measured by National Institute of Nutrition, Hyderabad.
Take a peek at the raw data here: Document, Webpage.
FAQs
Uniquely identifiable codes for each food.
The npm package @ifct2017/codes receives a total of 247 weekly downloads. As such, @ifct2017/codes popularity was classified as not popular.
We found that @ifct2017/codes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.