@popstas/node-hide-console-window
v2.0.1
Published
A node module to toggle your app's console window visibility.
Downloads
8
Maintainers
Readme
node-hide-console-window
A node module to toggle your app's console window visibility. (Can be used with compilers like pkg)
Platforms
- Windows
Warning
I recently updated this package to match the javascript lint so if you are experiencing any problem related to not finding the method take a look at the usage section again.
Installation
yarn add node-hide-console-window
or
npm install node-hide-console-window
Usage
Using import syntax
import {showConsole, hideConsole} from "node-hide-console-window";
//To hide your console just call:
hideConsole();
//To show it again use:
showConsole();
Using require syntax
const ConsoleWindow = require("node-hide-console-window");
//To hide your console just call:
ConsoleWindow.hideConsole();
//To show it again use:
ConsoleWindow.showConsole();
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.