screen-clear
Clear the terminal screen if possibleUsage
Typescreen-clear
at the command prompt to clear the screen.C:\> screen-clear
var clear = require('screen-clear');
clear();
screen-clear
at the command prompt to clear the screen.C:\> screen-clear
var clear = require('screen-clear');
clear();
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.