# clear-any-console

> Cross platform console clear for your next Node.js CLI.

Latest version **1.16.4** (published 2026-05-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install clear-any-console
pnpm add clear-any-console
yarn add clear-any-console
bun add clear-any-console
```

## Health

**Score 45/100 (D)** — status: active.

Positive: no vulnerabilities.

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

## Facts

| | |
|---|---|
| Version | 1.16.4 |
| Published | 2026-05-14 |
| First published | 2019-07-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18 |
| Author | Ahmad Awais |
| Maintainers | ahmadawais |
| Keywords | clear, clear any console, console, clear console, clear console windows, clear console linux, clear console mac OS, clear-any-console, Ahmad Awais, ahmadawais |

## Links

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

## Dependencies (2)

- [langbase](https://npm.io/package/langbase.md) *
- [command-code](https://npm.io/package/command-code.md) *

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.16.4 (latest) — 2026-05-14
- 1.16.3 — 2025-01-27
- 1.16.2 — 2020-08-15
- 1.16.1 — 2020-07-11
- 1.16.0 — 2019-07-30
- 1.15.0 — 2019-07-29
- 1.14.0 — 2019-07-29
- 1.13.0 — 2019-07-29
- 1.12.0 — 2019-07-29
- 1.11.0 — 2019-07-29
- 1.10.0 — 2019-07-29
- 1.9.0 — 2019-07-29
- 1.8.0 — 2019-07-29
- 1.7.0 — 2019-07-29
- 1.6.0 — 2019-07-29
- … 8 more at https://npm.io/package/clear-any-console/versions

## README

# clear-any-console

[![DOWNLOADS](https://img.shields.io/npm/dt/clear-any-console?label=DOWNLOADS%20%20❯&colorA=6A788D&colorB=6A788D&style=flat&style=flat)](https://www.npmjs.com/package/clear-any-console) [![Learn VSCode](https://img.shields.io/badge/-VSCODE.pro%20%E2%86%92-gray.svg?colorB=6A788D&style=flat)](https://VSCode.pro/?utm_source=GitHubFOSS)
[![Follow @MrAhmadAwais on Twitter](https://img.shields.io/badge/FOLLOW%20@MRAHMADAWAIS%20%E2%86%92-gray.svg?colorA=6A788D&colorB=6A788D&style=flat)](https://twitter.com/mrahmadawais/)

> Cross platform console clear for your next Node.js CLI.

<br />

[![📟](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/install.png)](./../../)

## Install

```sh
npm install clear-any-console
```

<br />

[![⚙️](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/usage.png)](./../../)

## Usage

```js
const clearConsole = require('clear-any-console');

// Clears the console.
clearConsole();
```

<br />

[![📝](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/log.png)](changelog.md)

## Changelog

[❯ Read the changelog here →](changelog.md)

<br />

<small>**KEY**: `📦 NEW`, `👌 IMPROVE`, `🐛 FIX`, `📖 DOC`, `🚀 RELEASE`, and `✅ TEST`

> _I use [Emoji-log](https://github.com/ahmadawais/Emoji-Log), you should try it and simplify your git commits._

</small>

<br />

[![📃](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/license.png)](./../../)

## License & Conduct

- MIT © [Ahmad Awais](https://twitter.com/MrAhmadAwais/)
- [Code of Conduct](code-of-conduct.md)

<br />

[![🙌](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/connect.png)](./../../)

## Connect

<div align="left">
    <p><a href="https://github.com/ahmadawais"><img alt="GitHub @AhmadAwais" align="center" src="https://img.shields.io/badge/GITHUB-gray.svg?colorB=6cc644&colorA=6cc644&style=flat" /></a>&nbsp;<small><strong>(follow)</strong> To stay up to date on free & open-source software</small></p>
    <p><a href="https://twitter.com/MrAhmadAwais/"><img alt="Twitter @MrAhmadAwais" align="center" src="https://img.shields.io/badge/TWITTER-gray.svg?colorB=1da1f2&colorA=1da1f2&style=flat" /></a>&nbsp;<small><strong>(follow)</strong> To get #OneDevMinute daily hot tips & trolls</small></p>
    <p><a href="https://www.youtube.com/AhmadAwais"><img alt="YouTube AhmadAwais" align="center" src="https://img.shields.io/badge/YOUTUBE-gray.svg?colorB=ff0000&colorA=ff0000&style=flat" /></a>&nbsp;<small><strong>(subscribe)</strong> To tech talks & #OneDevMinute videos</small></p>
    <p><a href="https://AhmadAwais.com/"><img alt="Blog: AhmadAwais.com" align="center" src="https://img.shields.io/badge/MY%20BLOG-gray.svg?colorB=4D2AFF&colorA=4D2AFF&style=flat" /></a>&nbsp;<small><strong>(read)</strong> In-depth & long form technical articles</small></p>
    <p><a href="https://www.linkedin.com/in/MrAhmadAwais/"><img alt="LinkedIn @MrAhmadAwais" align="center" src="https://img.shields.io/badge/LINKEDIN-gray.svg?colorB=0077b5&colorA=0077b5&style=flat" /></a>&nbsp;<small><strong>(connect)</strong> On the LinkedIn profile y'all</small></p>
</div>

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