Skip to content

Instantly share code, notes, and snippets.

@zabih-alipour
Last active September 7, 2020 18:00
Show Gist options
  • Save zabih-alipour/0ddb67601b1ec4c1eeb98a94c29de8fa to your computer and use it in GitHub Desktop.
Save zabih-alipour/0ddb67601b1ec4c1eeb98a94c29de8fa to your computer and use it in GitHub Desktop.
Add a progress in output in NodeJs
process.stdout.clearLine();
process.stdout.cursorTo(0);
process.stdout.write(`waiting.... ${progressNumber}`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment