@hebcal/rest-api
    Preparing search index...

    Function eventsToClassicApiHeader

    • Builds just the header fields (title, date, version, location, range, tachanun) of the classic Hebcal.com JSON API response, without the items array.

      Parameters

      • events: Event[]

        the events used to determine title and date range

      • options: RestApiOptions

        controls title, location, and tachanun rendering

      Returns ClassicApiResult

      the classic API response object, without items