Skip to content

samolego/WebCommander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebCommander

A simple and lightweight (~ 16 KB) JS console imitation. Check it out

webcommander

Get it now

Check out the wiki

Usage

Include the JavaScript file:

<html>
  <head>
    <script src="webcommander.js"></script>
  </head>
</html>

Create a container:

Add a DIV element where you want the console.

<div id="console"></div>

Create the console:

Use this JS code to create a new console within the previously created DIV element.

var myConsole = new WebCommander('console');