Home

Awesome

Build Status Coverage Status

An offscreen xterm like ANSI terminal library.

The terminal implements the interface of the node-ansiparser in ECMA5 vanilla javascript.

Quick usage example:

var AnsiTerminal = require('node-ansiterminal').AnsiTerminal;
var AnsiParser = require('node-ansiparser');
var terminal = new AnsiTerminal(80, 25, 500);
var parser = new AnsiParser(terminal);
parser.parse('\x1b[31mHello World!\x1b[0m');
console.log(terminal.toString());

See examples for some output examples or jquery.browserterminal for a jquery based browser frontend.

Documentation

See the API documentation.

TODO: