# clear-output

> clear terminal output like a pro

Latest version **0.0.2** (published 2018-09-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install clear-output
pnpm add clear-output
yarn add clear-output
bun add clear-output
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2018-09-09 |
| First published | 2018-09-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | lijsh |
| Maintainers | lijsh |

## Links

- npm: https://www.npmjs.com/package/clear-output
- Repository: https://github.com/lijsh/clear-output
- Homepage: https://github.com/lijsh/clear-output#readme
- Issues: https://github.com/lijsh/clear-output/issues
- npm.io page: https://npm.io/package/clear-output

## Dependencies (2)

- [wcwidth](https://npm.io/package/wcwidth.md) ^1.0.1
- [strip-ansi](https://npm.io/package/strip-ansi.md) ^4.0.0

## Recent versions

- 0.0.2 (latest) — 2018-09-09
- 0.0.1 — 2018-09-09
- 0.0.0 — 2018-09-09

## README

# clear-output

[![NPM version](https://img.shields.io/npm/v/clear-output.svg?style=flat)](https://npmjs.com/package/clear-output) [![NPM downloads](https://img.shields.io/npm/dm/clear-output.svg?style=flat)](https://npmjs.com/package/clear-output)

> A cli utils that can clear your terminal output.

## Install

```bash
yarn add clear-output
```

## Usage

```js
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:

<img src="sample-preview.png" width="480">

## 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](https://github.com/lijsh), Released under the [MIT](./LICENSE) License.<br>
Authored and maintained by lijsh with help from contributors ([list](https://github.com/lijsh/clear-output/contributors)).

> [github.com/lijsh](https://github.com/lijsh) · GitHub [@lijsh](https://github.com/lijsh) · Twitter [@lijiashen](https://twitter.com/lijiashen)

---
_Source: https://npm.io/package/clear-output · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
