timed-terminal-print

0.0.3 • Public • Published

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);
});

Readme

Keywords

none

Package Sidebar

Install

npm i timed-terminal-print

Weekly Downloads

2

Version

0.0.3

License

MIT

Last publish

Collaborators

  • tlatek