Package detail

console-cls

mitch9314ISC1.2.2

Tool for clearing the terminal screen completely by adding console.cls() to your application.

clear, cli, console, screen

readme

console-cls

console-cls is a simple tool to help you clear the screen better in node.

CLI Install

Remember to run with sudo...

npm i -g console-cls

Then...

console-cls

Application Install

npm i console-cls
const clear = require('console-cls')

clear()

// ...or add to console globally

clear.addToConsole()

// now use console.cls() throughout the application!

console.cls()