Javascript String leftPad(len)
// see also: https://www.npmjs.com/package/left-pad String.prototype.leftPad = function(len) { return ' '.repeat(len - this.length) + this }