1.0.1 • Published 5 years ago

@bunchtogether/bring-application-to-front v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Bring Application To Front

npm version

Minimal, cross-browser window manager that brings an open application window to the front and hides all other windows.

Implemented on Windows using node-ffi and on OSX using AppleScript.

Install

yarn add @bunchtogether/bring-application-to-front

Windows users may need to install windows-build-tools.

Usage

const bringApplicationToFront = require('bring-application-to-front');

const run = async () => {
  await bringApplicationToFront("Chrome.app");
}

run();

API

Table of Contents