@hebcal/leyning
    Preparing search index...

    Function lookupParsha

    • Returns the raw metadata for a parsha from aliyot.json.

      This is the underlying data (verse tuples, book number, Haftarah theme, etc.), not a computed reading — use getLeyningForParsha for that.

      Parameters

      • parsha: string | string[]

        untranslated name, e.g. 'Pinchas', ['Pinchas'], or ['Matot', 'Masei'] for a doubled parsha

      • Optionallanguage: string = 'en'

        language for the Hebrew name and Haftarah (default 'en')

      Returns ParshaMeta

      the parsha metadata (see ParshaMeta)

      if parsha is not a known parsha name