The International Numbering System for Food Additives (INS) is a European-based naming system for food additives. It is defined by Codex Alimentarius, the WHO, and the FAO.
Class Names and the International Numbering System for Food Additives, was first published in 1989, with revisions in 2008 and 2011. The INS is an open list, "subject to the inclusion of additional additives or removal of existing ones on an ongoing basis".
foodins "102"
# 102: tartrazine
# .type: colour (yellow and orange) (FDA: FD&C Yellow #5); .status: a e
foodins "ins 102"
# 102: tartrazine
# .type: colour (yellow and orange) (FDA: FD&C Yellow #5); .status: a e
foodins "ins 160 d (iii)"
# 160d(iii): lycopene, Blakeslea trispora
# .type: colour; .status: a e
#
# 160d: lycopenes
# .type: ; .status: a e
# ...
foodins [options] <query>
# query: code, name, type, or status of food additive
# Options:
# --help: show this help
# --silent: hide error messages
# Environment variables:
$FOODINS_SILENT # hide error messages (0)
const foodins = require('food-ins');
foodins('102');
// [ { code: '102',
// names: 'tartrazine',
// type: 'colour (yellow and orange) (FDA: FD&C Yellow #5)',
// status: 'a e' } ]
foodins('ins 102');
// [ { code: '102',
// names: 'tartrazine',
// type: 'colour (yellow and orange) (FDA: FD&C Yellow #5)',
// status: 'a e' } ]
foodins('ins 160 d (iii)');
// [ { code: '160d(iii)',
// names: 'lycopene, Blakeslea trispora',
// type: 'colour',
// status: 'a e' },
// { code: '160d', names: 'lycopenes', type: '', status: 'a e' },
// ... ]
Method | Action |
---|---|
foodins | Lists matching food additives. |
load | Preloads food additive data (before use). |
sql | Gives commands to insert data to SQL database. |
csv | Gives path of data CSV file. |
corpus | Keeps food additive data. {field} |
Browserified, minified version of this package is food-ins.min.