lib/report.js
function header(dimensions) {
  return divider(dimensions, 'top')
    + BORDER_VERT
    + BOLD + padEnd(' NAME', dimensions.name) + RESET
    + BORDER_VERT
    + BOLD + padEnd(' AVG', dimensions.avg) + RESET
    + BORDER_VERT
    + BOLD + padEnd(' MIN', dimensions.min) + RESET
    + BORDER_VERT
    + BOLD + padEnd(' MAX', dimensions.max) + RESET
    + BORDER_VERT
    + '\n'
    + divider(dimensions, 'header');
}
function header(dimensions) {
  return divider(dimensions, 'top')
    + BORDER_VERT
    + BOLD + padEnd(' NAME', dimensions.name) + RESET
    + BORDER_VERT
    + BOLD + padEnd(' AVG', dimensions.avg) + RESET
    + BORDER_VERT
    + BOLD + padEnd(' MIN', dimensions.min) + RESET
    + BORDER_VERT
    + BOLD + padEnd(' MAX', dimensions.max) + RESET
    + BORDER_VERT
    + '\n'
    + divider(dimensions, 'header');
}
function header ( dimensions ) { return divider ( dimensions , 'top' ) + BORDER_VERT + BOLD + padEnd ( ' NAME' , dimensions . name ) + RESET + BORDER_VERT + BOLD + padEnd ( ' AVG' , dimensions . avg ) + RESET + BORDER_VERT + BOLD + padEnd ( ' MIN' , dimensions . min ) + RESET + BORDER_VERT + BOLD + padEnd ( ' MAX' , dimensions . max ) + RESET + BORDER_VERT + '\n' + divider ( dimensions , 'header' ) ; }
Generates the header for a report table.

@param {Dimensions} dimensions

@returns {string}
Generates the header for a report table .