@bunchtogether/picture-in-picture

Minimal window manager that brings an open application window to the front.

Usage no npm install needed!

<script type="module">
  import bunchtogetherPictureInPicture from 'https://cdn.skypack.dev/@bunchtogether/picture-in-picture';
</script>

README

Picture in Picture

npm version

Minimal window manager that brings an open application window to the front.

Install

yarn add @bunchtogether/picture-in-picture

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

Usage

const { setForegroundWindow, keepOnTop } = require('@bunchtogether/picture-in-picture');

const run = async () => {
  await keepOnTop("chrome.exe", true);
}

run();

API

Table of Contents