JSPM

  • Created
  • Published
  • Downloads 123
  • Score
    100M100P100Q101609F
  • License MIT

Get position, size, title and a few other properties of the active or open window(s) on Windows, MacOS and Linux.

Package Exports

  • @miniben90/x-win
  • @miniben90/x-win/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@miniben90/x-win) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

x-win

This project work with Rust and napi-rs to make easy to have active window or an array of open windows. It work with Microsoft Windows (10, 11), Linux (With Xserver) and Macos(*).

Install

Easy to install:

# With npm
npm i x-win

# With yarn
yarn add x-win

(*)About Macos

Macos require to grant access for recording screen. If your project don't have it the title will have <unknown> as value.