ingspect-dict
v1.0.0
Published
Ingredients data/dictionary that contains their information and their sources.
Downloads
4
Readme
IngSpect Dict
Ingredients data/dictionary to document various ingredients information, such as their source and information.
The data is an object with 2 properties:
ingNameToInfoKeys
: Map an ingredient to its information keys. An ingredient can have multiple information keys since it can too generic, for example:sugar
which can refer to eithercane sugar
,refined beet sugar
orsucrose
.infoKeyToInfoDetails
: Map an information key to the information details (category and definition).
All ingredients information is retrieved from the Vegetarian Resource Group (https://www.vrg.org/ingredients) with the help of the scrapper.
Available Scripts
In the package directory, you can run:
npm test
Run the test.
npm run test:ci
Run the test in CI mode with coverage generation.
npm run build
Build the package.