Skip to content

Javascript terminal emulator library that aims to be xterm complaint and is supposed to work in browsers and node.js.

License

Notifications You must be signed in to change notification settings

dutchcoders/terminal.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Flattr this git repo Build Status

Terminal.js is a rendering engine for vt100-like terminals. It is written from scratch and supports most commonly used escape sequences.

Example

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

Documentation

The documentation is generated using JSDoc and can be found here

Source

Source is developed at Github

About

Javascript terminal emulator library that aims to be xterm complaint and is supposed to work in browsers and node.js.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.8%
  • Other 1.2%