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

2.2.0 • Public • Published

node-hide-console-window

Downloads Issues Licence

A node module to toggle your app's console window visibility. (Can be used with compilers like pkg)

Platforms

  • 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

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

Dependents (2)

Package Sidebar

Install

npm i node-hide-console-window

Weekly Downloads

15

Version

2.2.0

License

MIT

Unpacked Size

4.79 kB

Total Files

8

Last publish

Collaborators

  • hetrodo