Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

stdline

omrilotan223MIT1.1.1

💬 Update current STDOUT stream

stdout, printline, console.clear, cli, message, update, 💬

readme

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

Wipe screen

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

wipe();