❤️👨🏭A simple package to clear console in windows, linux and mac os.🚀❤️👨🏭
npm install concleanA lightweight and powerful cross-platform console clearer for Node.js. conclean allows you to clear the terminal screen and optionally the scrollback buffer, ensuring a clean slate for your terminal output.
---
---
Install conclean via npm:
``bash`
npm install conclean
---
Here's how to use conclean in your Node.js project:
javascript
import conclean from 'conclean';
conclean();
`Examples
$3
`javascript
import conclean from 'conclean';console.log('Before clearing...');
conclean();
console.log('This appears on a clean terminal!');
`
---
Why
conclean?conclean provides a reliable way to clean up your terminal output. Unlike other packages, it supports both clearing the screen and optionally resetting the scrollback buffer, giving you full control.---
Compatibility
- Node.js: Version v12,v18,v20 and above
- Platforms: Windows, macOS, and Linux
---
License
conclean` is licensed under the MIT License.---
Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.
---
Developed by sumangal karan. Connect with me on Twitter or LinkedIn.