My node.js application has a lot of console logs, which are important for me to see (it\'s quite a big app so runs for a long time and I need to know that thing
node.js
Following @michelek's answer, you can use a function somewhat like this:
function printProgress(progress){ process.stdout.clearLine(); process.stdout.cursorTo(0); process.stdout.write(progress + '%'); }