


A node module to toggle your app's console window visibility. (Can be used with compilers
like
pkg)
$3
- Windows
What's new in 2.2.0
- Windows terminal support (thanks to GitHub user
titushm)
Warning
Recently this package have been a victim of a typosquatting attack where some bad actors created a clone of this package
but appended a 's' at the end,
this package isn't and never was compromised, but if you want you can take a look at the
source code or build it yourself, always check your packages before installing, take care out there!
Installation
``
bash
yarn add node-hide-console-window
`
or
`
bash
npm install node-hide-console-window
`
Usage
#### Using import syntax
`
typescript
import {showConsole, hideConsole} from "node-hide-console-window";
//To hide your console just call:
hideConsole();
//To show it again use:
showConsole();
`
#### Using require syntax
`
typescript
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.
License
MIT