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

@tmlmt/cooklang-parser / PantryOptions

Interface: PantryOptions

Options for configuring a Pantry.

Properties

dateFormat?

optional dateFormat: string

Date format pattern for parsing date strings (e.g. "DD.MM.YYYY", "MM/DD/YYYY", "YYYY-MM-DD"). If not provided, dates are parsed with fuzzy detection defaulting to day-first when ambiguous.