Module: utils/info-utils

A utility module that provides functions and classes for handling and processing YouTube video information and format objects, as well as date and time formatting utilities.

This module enhances the usability of raw data retrieved from YouTube APIs by normalizing and transforming specific properties into more user-friendly types and formats.

Features

  • DateFormatter Class: A utility for handling and formatting timestamps.
  • FormatUtils Namespace: A collection of functions for working with YouTube format objects, including parsing and determining media capabilities.
  • InfoUtils Namespace: A collection of functions for extracting and normalizing various properties from YouTube video information objects.
Since:
  • 2.0.0
Author:
  • Ryuu Mitsuki <https://github.com/mitsuki31>
Source:

Requires

Classes

DateFormatter

Namespaces

FormatUtils
InfoUtils