Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 314 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 314 Bytes

clear-console

Like other console clearing modules but it works on my machine.

usage

var clear = require('clear-console');
clear()

toStart option

On Mac OS X terminal, this option clears to start (just like pressing ⌘K):

var clear = require('clear-console');
clear({toStart: true})