Skip to content

Instantly share code, notes, and snippets.

@fernandolozer
Created September 12, 2017 17:31
Show Gist options
  • Save fernandolozer/1e3485464e9f81d50891013e3de96028 to your computer and use it in GitHub Desktop.
Save fernandolozer/1e3485464e9f81d50891013e3de96028 to your computer and use it in GitHub Desktop.
Clean the terminal. Very usefull when using the nodemon and testing output on the terminal tested on mac
process.stdout.write('\033c');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment