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

Package detail

cli-clear

stevenvachon8.9k1.0.4

Cross-platform terminal screen clear.

clear, cli, cls

readme

cli-clear NPM Version

Cross-platform terminal screen clear for Node.js

ANSI escape codes don't always work in Windows.

Getting Started

Node.js ~0.8.0 is required. To install, type this at the command line:

npm install cli-clear --save-dev

Usage

var clear = require("cli-clear");

clear();

Release History

  • 1.0.4 added Node 0.12+ support
  • 1.0.3 minor performance enhancements
  • 1.0.2 package.json optimization
  • 1.0.1 nearly pointless fix
  • 1.0.0 fixed extra line break issue
  • 0.1.0 initial release