Hey! I'm available for hire (and I appreciate tips)  



You can add functionality to node's REPL so that you can clear it in the same way your can clear Chrome's JavasSript Developer Console.

If you copy and paste this function into the nodejs console, you can then call clear(); each time you want to clear the screen.

function clear() {
  process.stdout.write('\u001B[2J\u001B[0;0f');
}

If you want a REPL that loads with clear every time, take a quick look at injs.

Thanks to


By AJ ONeal

Was this useful to you? Share it!

Also, you can give me a tip or hire me.


Published

2013-2-7

Categories


Tags