JSPM

  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q60262F
  • License MIT

The International Numbering System for Food Additives (INS) is a European-based naming system for food additives, aimed at providing a short designation of what may be a lengthy actual name.

Package Exports

  • food-ins

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 (food-ins) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

food-ins

NPM

The International Numbering System for Food Additives (INS) is a European-based naming system for food additives, aimed at providing a short designation of what may be a lengthy actual name. It is defined by Codex Alimentarius, the international food standards organisation of the World Health Organisation (WHO) and Food and Agriculture Organization (FAO) of the United Nations (UN). The information is published in the document Class Names and the International Numbering System for Food Additives, 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".

const foodins = require('food-ins');
// foodins(<query text>)
// -> [{code, names, type, status}]

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' },
//   { code: '160d(i)',
//     names: 'lycopene, synthetic',
//     type: 'colour',
//     status: 'a e' },
//   { code: '160d(ii)',
//     names: 'lycopene, tomato',
//     type: 'colour',
//     status: 'a e' },
//   { code: '160a(iii)',
//     names: 'beta-carotene, Blakeslea trispora',
//     type: 'colour',
//     status: 'a e' },
//   { code: '163(iii)',
//     names: 'Blackcurrant extract',
//     type: 'colour',
//     status: 'a e' },
//   { code: '101(iii)',
//     names: 'riboflavin from Bacillus subtilis',
//     type: 'colour (yellow and orange)',
//     status: 'a e' },
//   { code: '172(iii)',
//     names: 'iron oxide, yellow',
//     type: 'colour',
//     status: 'a e' },
//   { code: '150c',
//     names: 'caramel III – ammonia caramel',
//     type: 'colour (brown and black)',
//     status: 'a e' } ]