src/lib/cli.js
function printColumns(heading, data) {
  const columns = columnify(data, {});
  const spacer = EOL + EOL;

  process.stdout.write(heading);
  process.stdout.write(spacer);

  if (columns) {
    process.stdout.write(columns);
    process.stdout.write(spacer);
  }
}
function printColumns(heading, data) {
  const columns = columnify(data, {});
  const spacer = EOL + EOL;

  process.stdout.write(heading);
  process.stdout.write(spacer);

  if (columns) {
    process.stdout.write(columns);
    process.stdout.write(spacer);
  }
}
function printColumns ( heading , data ) { const columns = columnify ( data , { } ) ; const spacer = EOL + EOL ; process . stdout . write ( heading ) ; process . stdout . write ( spacer ) ; if ( columns ) { process . stdout . write ( columns ) ; process . stdout . write ( spacer ) ; } }
Print to stdout

@param {string} heading
@param {Array?} data
Print to stdout