Options
All
  • Public
  • Public/Protected
  • All
Menu

Module output

Index

Functions

formatDuration

  • formatDuration(config: any, duration: number): any
  • Convert a time to a human readable string with colors

    Parameters

    • config: any
    • duration: number

      Time in ms

    Returns any

formatTime

  • formatTime(duration: number): string
  • Convert a time to a human readable string

    Parameters

    • duration: number

      Time in ms

    Returns string

Generated using TypeDoc