lib/printer.js
function formatColumn(text, width, offsetLeft, offsetRight) {
  offsetLeft  = undefined !== offsetLeft  ? offsetLeft  : 3;
  offsetRight = undefined !== offsetRight ? offsetRight : 3;

  return new Array(offsetLeft + 1).join(' ') +
    text +
    new Array(Math.max(width - text.length, 0) + 1).join(' ') +
    new Array(offsetRight + 1).join(' ');
}
function formatColumn(text, width, offsetLeft, offsetRight) {
  offsetLeft  = undefined !== offsetLeft  ? offsetLeft  : 3;
  offsetRight = undefined !== offsetRight ? offsetRight : 3;

  return new Array(offsetLeft + 1).join(' ') +
    text +
    new Array(Math.max(width - text.length, 0) + 1).join(' ') +
    new Array(offsetRight + 1).join(' ');
}
Return a text surrounded by space
@param {string} text
@param {number} width Column width without offsets
@param {number} [offsetLeft=3]  space count before text
@param {number} [offsetRight=3] space count after text
@returns {string}