termlog.js

0.0.4 • Public • Published

termlog.js Build Status Deps Status

NPM

Wraps browser console to display log messages in web terminal powered by term.js

USAGE

Include termlog.js to your html page and call terminal.open() as part of initialization block like in example below.

window.onload = function() {
    terminal.open();
    console.log('log %s', 'message');
    console.warn('warn %s', 'message');
    console.error('error %s', 'message');
    console.debug('debug %s', 'message');
};

Readme

Keywords

none

Package Sidebar

Install

npm i termlog.js

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • sergeyt