cmd-clear-everywhere
v1.1.0
Published
A reliable and tiny module to clear terminal everywhere.
Downloads
2
Readme
cmd-clear-everywhere
A reliable and tiny module to clear terminal everywhere.
Installation
You can install cmd-clear-everywhere via npm:
npm install cmd-clear-everywhere
Usage
To use cmd-clear-everywhere in your project, require the module and call the clear function:
const clear = require('cmd-clear-everywhere');
// Clear the console screen
clear();
API
clear()
Clears the console screen based on the current platform (Windows, macOS, or Linux).
Contributing
Contributions are welcome! Please open an issue or submit a pull request if you would like to contribute to the project.
License
This project is licensed under the ISC License. Author
itsarnavsh
Keywords
cmd
clear
console
screen
cross-platform