clear
Clear the terminal screen if possibleUsage
var clear = require('clear');
clear();
Example
clear(opts)
opts
(Object)opts.fullClear
(Boolean) Defaults totrue
, setting this tofalse
will
\r
instead of a \n
to reset the current line of output.Installation
npm install clear