An open API service indexing awesome lists of open source software.

https://github.com/stevenvachon/cli-clear

Cross-platform terminal screen clear.
https://github.com/stevenvachon/cli-clear

cli command-line cross-platform nodejs

Last synced: 12 months ago
JSON representation

Cross-platform terminal screen clear.

Awesome Lists containing this project

README

          

# cli-clear [![NPM Version](https://img.shields.io/npm/v/cli-clear.svg)](https://npmjs.org/package/cli-clear)

> Cross-platform terminal screen clear for Node.js

ANSI escape codes don't always work in Windows.

## Getting Started
[Node.js](http://nodejs.org/) `>= 0.8` is required. To install, type this at the command line:
```
npm install cli-clear --save-dev
```

### Usage
```js
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