clear-output

0.0.2 • Public • Published

clear-output

NPM version NPM downloads

A cli utils that can clear your terminal output.

Install

yarn add clear-output

Usage

const clear = require('clear-output')
 
const str = 'you will see this line\nyou won\'t see \nthese lines'
 
console.log(str)
 
clear(str)

And you will see this:

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

clear-output © lijsh, Released under the MIT License.
Authored and maintained by lijsh with help from contributors (list).

github.com/lijsh · GitHub @lijsh · Twitter @lijiashen

Readme

Keywords

none

Package Sidebar

Install

npm i clear-output

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

3.45 kB

Total Files

4

Last publish

Collaborators

  • lijsh