1.0.0 • Published 4 years ago

one-line-print v1.0.0

Weekly downloads
5
License
-
Repository
github
Last release
4 years ago

Print text in the same line

Very simple Node.js package allows print text to console in the same line.

Installation

npm i one-line-print

Usage

const Print = require('one-line-print');

Print.newLine('Count up:');
for (let index = 0; index < 100000; index++) {
  Print.line(`Loading: ${index} bytes`);  
}

Print.newLine('Count down:');
for (let index = 100000; index > 0; index--) {
  Print.line(`Loading: ${index} bytes`);  
}

Print.newLine('HI THERE!');