rich22 rich22 - 4 months ago 22
Node.js Question

Is there any way to clear nodeJs command prompt?

Is there any way to clear out the Nodejs command prompt, if you want all previous information to disappear (start afresh without having to restart Nodejs command prompt)? My tutorial says to type in clr into it, but nothing happens when I do so.

Answer

try

cls 

or

process.stdout.write('\033c')

Vince.