JSPM

@samo_lego/webcommander

1.0.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q10138F
  • License LGPL-3.0

A simple JS terminal emulation.

Package Exports

  • @samo_lego/webcommander

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@samo_lego/webcommander) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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