Optional
additionalUOMsAn object that matches the format of unitsOfMeasure. Keys that match any in unitsOfMeasure will be used instead of the default, and any others will be added to the list of known units of measure when parsing ingredients.
Optional
allowIf true
, ingredient descriptions that start with "of " will not be
modified. (By default, a leading "of " will be removed from all descriptions.)
Optional
ignoreUOMsAn array of strings to ignore as units of measure when parsing ingredients.
Optional
normalizeUOMConverts the unit of measure (unitOfMeasure
property) of each
ingredient to its long, singular form. For example, "ml" becomes
"milliliter" and "cups" becomes "cup".
Options available to parseIngredient.