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

    Function getEventCategories

    • Returns a category and subcategory name for an event, e.g. ['holiday', 'major'] or ['roshchodesh'].

      Parameters

      • ev: Event

        the event to categorize

      Returns string[]

      an array of 1 or 2 category strings