@popstas/node-hide-console-window
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

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.

License

MIT

Package Sidebar

Install

npm i @popstas/node-hide-console-window

Weekly Downloads

2

Version

2.0.1

License

MIT

Unpacked Size

3.54 kB

Total Files

7

Last publish

Collaborators

  • popstas