@mikeyt23/node-cli-utils
    Preparing search index...

    Function logTable

    • Logs the provided 2-dimensional string array as a formatted table.

      Parameters

      • data: string[][]

        2-dimensional string array where the first row is the column headers

      Returns void

      logTable([
      ['Name', 'Age', 'Country'],
      ['Alice', '28', 'USA'],
      ['Bob', '22', 'Canada']
      ])