textarea-based browser console, similar to chrome dev tools.
Install with component(1):
$ component install amasad/console
var Console = require('console');
var konsole = new Console();
konsole.on('command', function (val) {
var result = eval(val);
this.result(result);
});
konsole.log('started');console.el will contain the console container element. Use to append, style, etc.
logs to the console right before the prompt element with the passed classname.
like log but with preset styles. See css file.
command with the value.
MIT
