ascli.js
function ascli(title, appendix) {
    title = title || ascli.appName;
    appendix = appendix || "";
    var lines = ["", "", ""], c, a, j, ac = "";
    for (var i=0; i<title.length; i++) {
        c = title.charAt(i);
        if (c == '\x1B') {
            while ((c=title.charAt(i)) != 'm') {
                ac += c;
                i++;
            }
            ac += c;
        } else if ((a=alphabet[c])||(a=alphabet[c.toLowerCase()]))
            for (j=0; j<3; j++)
                lines[j] += ac+a[j];
    }
    for (i=0; i<lines.length; i++) lines[i] = lines[i]+"\x1B[0m";
    lines[1] += " "+appendix;
    if (lines[lines.length-1].strip.trim().length == 0) {
        lines.pop();
    }
    return '\n'+lines.join('\n')+'\n';
}
function ascli(title, appendix) {
    title = title || ascli.appName;
    appendix = appendix || "";
    var lines = ["", "", ""], c, a, j, ac = "";
    for (var i=0; i<title.length; i++) {
        c = title.charAt(i);
        if (c == '\x1B') {
            while ((c=title.charAt(i)) != 'm') {
                ac += c;
                i++;
            }
            ac += c;
        } else if ((a=alphabet[c])||(a=alphabet[c.toLowerCase()]))
            for (j=0; j<3; j++)
                lines[j] += ac+a[j];
    }
    for (i=0; i<lines.length; i++) lines[i] = lines[i]+"\x1B[0m";
    lines[1] += " "+appendix;
    if (lines[lines.length-1].strip.trim().length == 0) {
        lines.pop();
    }
    return '\n'+lines.join('\n')+'\n';
}
function ascli ( title , appendix ) { title = title || ascli . appName ; appendix = appendix || "" ; var lines = [ "" , "" , "" ] , c , a , j , ac = "" ; for ( var i = 0 ; i < title . length ; i ++ ) { c = title . charAt ( i ) ; if ( c == '\x1B' ) { while ( ( c = title . charAt ( i ) ) != 'm' ) { ac += c ; i ++ ; } ac += c ; } else if ( ( a = alphabet [ c ] ) || ( a = alphabet [ c . toLowerCase ( ) ] ) ) for ( j = 0 ; j < 3 ; j ++ ) lines [ j ] += ac + a [ j ] ; } for ( i = 0 ; i < lines . length ; i ++ ) lines [ i ] = lines [ i ] + "\x1B[0m" ; lines [ 1 ] += " " + appendix ; if ( lines [ lines . length - 1 ] . strip . trim ( ) . length == 0 ) { lines . pop ( ) ; } return '\n' + lines . join ( '\n' ) + '\n' ; }
For backward compatibility 
Builds a banner.
@param {string=} title App name
@param {string=} appendix Appendix, e.g. version
@returns {string}
For backward compatibility Builds a banner .