TTY, you so fly.
Jetty gives you a nice interface to working with ANSI control sequences. If you need a full-blown terminal UI toolkit, you probably want something like curses.
Available via npm:
$ npm install jetty
Or via git:
$ git clone git://github.com/fknsrs/jetty.git
$ cd jetty
$ npm install
// Yeah, Jetty!var Jetty = ;// Create a new Jetty object. This is a through stream with some additional// methods on it. Additionally, connect it to process.stdoutvar jetty = processstdout;// Clear the screenjettyclear;// Draw a circle with fly coloursvar i = 0;;
3-clause BSD. A copy is included with the source.