Javascript terminal emulator library that aims to be xterm compliant and is supposed to work in browsers and node.js.
Clone or download
Gottox Merge pull request #121 from kevinptt0323/master
Support double-width character
Latest commit b9cb92f Sep 7, 2017

terminal.js: terminal emulator library for browsers and node.js

Build Status

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


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