⚠️ This is pre-release documentation for v3. For stable docs, visit v2.
Skip to content

@tmlmt/cooklang-parser / MetadataTime

Interface: MetadataTime

Represents time information for a recipe.

Properties

cook?

optional cook?: string | number

The cooking time in minutes, or the raw string if it could not be parsed.


prep?

optional prep?: string | number

The preparation time in minutes, or the raw string if it could not be parsed.


total?

optional total?: string | number

The total time required in minutes, or the raw string if it could not be parsed.