1.0.6 • Published 3 years ago
@samo_lego/webcommander v1.0.6
WebCommander
A simple and lightweight (~ 16 KB) JS console imitation. Check it out
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');