one-line-print

1.0.0 • Public • Published

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!');

Package Sidebar

Install

npm i one-line-print

Weekly Downloads

1

Version

1.0.0

License

none

Unpacked Size

1.66 kB

Total Files

4

Last publish

Collaborators

  • ivfisunov.dev