0.0.3 • Published 7 years ago

timed-terminal-print v0.0.3

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

timed-terminal-print

A small node js module able to output text to the process output with a delay.

Install with:

npm install timed-terminal-print --save

Example:

let writer = new TimedConsoleWritter('',10,10)

writer.write('Some text')

writer.write('text to write after the first one is done')

writer.write(`I even work great with
     multiline text`)

Get user input in a timed manner using the question method.

writer.write(`The bird says?\n`);

writer.question().then((result) => {
    writer.write(result);
});