0.0.1 • Published 4 years ago
bring-to-front
Licence
MIT
Version
0.0.1
Deps
1
Size
13 kB
Vulns
0
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)
window to front
native nodejs plugin to bring window of pid to foreground (currently windows only)
·
Report Bug
·
Request Feature
Getting Started
To get a local copy up and running follow these simple steps.
Prerequisites
- node-gyp
Installation
- Clone the repo
git clone https://github.com/estradiaz/bringToFront.git
- Install NPM packages
npm install
Usage
const { pid } = require("bringToFront");
const hwnd = pid(process.pid)
if(hwnd > 0){
console.log("window handle: " + hwnd)
} else{
console.log("window not found - pid valid?")
}
Roadmap
See the open issues for a list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Project Link: https://github.com/estradiaz/bringToFront