API Docs
    Preparing search index...

    Function camelify

    • Internal

      Converts a snake_case or UPPER-KEBAB string to camelCase. Used for mapping HLS attribute names (e.g., GROUP-ID) to JavaScript property names (e.g., groupId).

      Parameters

      • str: string

        The HLS attribute name

      Returns string

      camelCase version

      camelify('CLOSED-CAPTIONS'); // 'closedCaptions'