Skip to content
Subhajit Sahu edited this page Feb 10, 2020 · 1 revision

Keeps food additive data. {field}

foode.corpus;
// --> Map {code => {code, names, type, status}}
const foode = require('food-e');

foode.load();
/* load corpus first */
// true

foode.corpus;
// Map {
//   'E100' => {
//     code: 'E100',
//     names: 'Curcumin (from turmeric)',
//     type: 'color (Yellow-orange)',
//     status: 'e u'
//   },
//   'E101' => {
//     code: 'E101',
//     names: 'Riboflavin (Vitamin B2), formerly called lactoflavin',
//     type: 'color (Yellow-orange)',
//     status: 'e u'
//   }, ...
// }
Clone this wiki locally