1.0.6 • Published 3 years ago

@samo_lego/webcommander v1.0.6

Weekly downloads
-
License
LGPL-3.0
Repository
github
Last release
3 years ago

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');