clear-any-console
Version:
Cross platform console clear for your next Node.js CLI.
69 lines (41 loc) • 3.21 kB
Markdown
# clear-any-console
[](https://www.npmjs.com/package/clear-any-console) [](https://VSCode.pro/?utm_source=GitHubFOSS)
[](https://twitter.com/mrahmadawais/)
> Cross platform console clear for your next Node.js CLI.
<br />
[](./../../)
## Install
```sh
npm install clear-any-console
```
<br />
[](./../../)
## Usage
```js
const clearConsole = require('clear-any-console');
// Clears the console.
clearConsole();
```
<br />
[](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 />
[](./../../)
## License & Conduct
- MIT © [Ahmad Awais](https://twitter.com/MrAhmadAwais/)
- [Code of Conduct](code-of-conduct.md)
<br />
[](./../../)
## 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> <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> <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> <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> <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> <small><strong>(connect)</strong> On the LinkedIn profile y'all</small></p>
</div>