output-formatter
format helper for output
const fmt = ;
fmt.left(str, len)
fmtleft'hello' 10should;fmtleft'hello' 5should;fmtleft'hello' 2should;fmtleft234 5should;fmtleftnull 5should;
fmt.center(str, len)
fmtshouldbe;fmtshouldbe;fmtshouldbe;fmtshouldbe;fmtshould;fmtshould;
fmt.right(str, len)
fmtright'world' 10shouldbe;fmtright'world' 5shouldbe;fmtright'world' 1shouldbe;fmtrighttrue 1should;
fmt.line(ch, num)
fmtshouldbe;fmtshouldbe;
fmt.red(msg)
console;
fmt.yellow(msg)
console;