clear the command prompt node

JavaScript
console.log('\033[2J');
Source

Also in JavaScript: