@bunchtogether/bring-application-to-front

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

Usage no npm install needed!

<script type="module">
  import bunchtogetherBringApplicationToFront from 'https://cdn.skypack.dev/@bunchtogether/bring-application-to-front';
</script>

README

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