packages/browser-sync/lib/logger.js
function getKeyName(key) {
    if (key.indexOf("ui") > -1) {
        if (key === "ui") {
            return "UI";
        }
        if (key === "ui-external") {
            return "UI External";
        }
    }
    return key.substr(0, 1).toUpperCase() + key.substring(1);
}
function getKeyName(key) {
    if (key.indexOf("ui") > -1) {
        if (key === "ui") {
            return "UI";
        }
        if (key === "ui-external") {
            return "UI External";
        }
    }
    return key.substr(0, 1).toUpperCase() + key.substring(1);
}
function getKeyName ( key ) { if ( key . indexOf ( "ui" ) > - 1 ) { if ( key === "ui" ) { return "UI" ; } if ( key === "ui-external" ) { return "UI External" ; } } return key . substr ( 0 , 1 ) . toUpperCase ( ) + key . substring ( 1 ) ; }
Transform url-key names into something more presentable
@param key
@returns {string}
Transform url - key names into something more presentable