Terminal.js is a rendering engine for vt100-like terminals. It is written from scratch and supports most commonly used escape sequences.
a simple demo using the colors module:
var colors = require('colors'),
Terminal = require('./index');
var terminal = new Terminal({columns: 20, rows: 2});
terminal.write("Terminal.js in rainbows".rainbow);
console.log(terminal.toString('ansi'));
There's also a webterminal using terminal.js: node-webterm
The documentation is generated using JSDoc and can be found here
Source is developed at Github