
var header = '\n╔════════════════════════════════════════════════════════════════════╗\n' +
'║                                                                    ║\n' +
'║                      poke-repl remote console √                    ║\n' +
'║                                                                    ║\n' +
'║              All connections are monitored and recorded            ║\n' +
'║      Disconnect \u001b[1mINMEDIATELY\u001b[22m if you are not an authorized user      ║\n' +
'╚════════════════════════════════════════════════════════════════════╝\n';

module.exports = function connectionBanner(config){
    if(config.header) header = config.header;
    config.environment = config.environment || process.env.NODE_ENV;

    var body = `

REPL Info:
Name              : ${config.name}
Version           : ${config.version}
Environment       : ${config.environment}

`;
    return header + body;
};

@@ -1,8 +1,23 @@
-%0Avar
+'use strict';%0Aconst
  hea
@@ -97,24 +97,28 @@
 %E2%95%90%E2%95%90%E2%95%90%E2%95%90%E2%95%90%E2%95%97%5Cn' +%0A
+    
 '%E2%95%91          
@@ -174,32 +174,36 @@
          %E2%95%91%5Cn' +%0A
+    
 '%E2%95%91              
@@ -255,32 +255,36 @@
          %E2%95%91%5Cn' +%0A
+    
 '%E2%95%91              
@@ -336,32 +336,36 @@
          %E2%95%91%5Cn' +%0A
+    
 '%E2%95%91              
@@ -425,16 +425,20 @@
  %E2%95%91%5Cn' +%0A
+    
 '%E2%95%91      
@@ -458,17 +458,17 @@
 001b%5B1mI
-N
+M
 MEDIATEL
@@ -525,16 +525,20 @@
  %E2%95%91%5Cn' +%0A
+    
 '%E2%95%9A%E2%95%90%E2%95%90%E2%95%90%E2%95%90%E2%95%90%E2%95%90
@@ -660,16 +660,17 @@
 fig)
+ 
 %7B%0A    if
 (con
@@ -665,16 +665,17 @@
 %7B%0A    if
+ 
 (config.
@@ -784,11 +784,13 @@
     
-var
+const
  bod
@@ -805,13 +805,28 @@
 EPL 
-Info:
+Session Information%0A
 %0ANam

clean up banner