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

Package detail

consolestdiorc

Soldy9GPL-3.0-or-later0.0.5

console stdio rc

readme

consolestdiorc

simple stdio helper

install

npm i consolestdiorc

init


const stdio = new (require('consolestdiorc')).base()

clear

stdio.clear();

print

stdio.print( text );

printLn

stdio.printLn( text );

printTo

stdio.printLn(
    text,
    x,
    y
);

cursorTo

stdio.cursorTo( 
    x,
    y
);

cursorHide

stdio.cursorHide();

cursorShow

stdio.cursorShow();