↩︎

stdline

💬 Update current STDOUT stream

Work on current line

const {
    update,
    end,
} = require('stdline');

console.log('processing:');
...

update('Got an update for you');
...
end('Finished!');

Clear screen

const { clear } = require('stdline');

clear();