UNPKG

@miniben90/x-win

Version:

This package allows you to retrieve precise information about active and open windows on Windows, MacOS, and Linux. You can obtain the position, size, title, and other memory of windows.

136 lines 3.75 kB
{ "name": "@miniben90/x-win", "description": "This package allows you to retrieve precise information about active and open windows on Windows, MacOS, and Linux. You can obtain the position, size, title, and other memory of windows.", "version": "3.5.0", "main": "index.js", "types": "index.d.ts", "files": [ "index.d.ts", "index.js", "README.md", "LICENSE" ], "napi": { "binaryName": "x-win", "targets": [ "x86_64-apple-darwin", "aarch64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "i686-pc-windows-msvc", "x86_64-pc-windows-msvc", "aarch64-pc-windows-msvc", "universal-apple-darwin" ] }, "author": { "name": "BENKHADRA Hocine", "email": "contact@benkhadra.com", "url": "https://benkhadra.com/" }, "repository": { "type": "git", "url": "git+https://github.com/miniben-90/x-win.git" }, "license": "MIT", "keywords": [ "active", "window", "windows", "active-window", "active", "current", "position", "title", "list", "open" ], "devDependencies": { "@emnapi/core": "^1.9.1", "@emnapi/runtime": "^1.9.1", "@napi-rs/cli": "^3.6.0", "@oxc-node/core": "^0.1.0", "@taplo/cli": "^0.7.0", "@tybys/wasm-util": "^0.10.1", "@types/node": "^25.5.0", "ava": "^7.0.0", "chalk": "^5.6.2", "husky": "^9.1.7", "lint-staged": "^16.4.0", "npm-run-all2": "^8.0.4", "oxlint": "^1.58.0", "prettier": "^3.8.1", "tinybench": "^6.0.0", "typescript": "^6.0.2" }, "lint-staged": { "*.@(js|ts|tsx)": [ "oxlint --fix" ], "*.@(js|ts|tsx|yml|yaml|md|json)": [ "prettier --write" ], "*.toml": [ "taplo format" ] }, "ava": { "extensions": { "ts": "module" }, "workerThreads": false, "timeout": "3m", "failFast": true, "environmentVariables": { "OXC_TSCONFIG_PATH": "./__test__/tsconfig.json" }, "nodeArguments": [ "--import", "@oxc-node/core/register" ] }, "engines": { "node": ">= 10.16.0 < 11 || >= 11.8.0 < 12 || >= 12.0.0" }, "prettier": { "printWidth": 120, "semi": false, "trailingComma": "all", "singleQuote": true, "arrowParens": "always" }, "scripts": { "artifacts": "napi artifacts", "bench": "node --import @oxc-node/core/register benchmark/bench.ts", "build": "napi build --platform --release", "build:debug": "napi build --platform", "format": "run-p format:prettier format:rs format:toml", "format:prettier": "prettier . -w", "format:toml": "taplo format", "format:rs": "cargo fmt", "lint": "oxlint .", "prepublishOnly": "napi prepublish -t npm", "test": "ava", "version": "napi version", "prepare": "husky", "clippy:rs": "cd ./x-win-rs && cargo clippy --all-features -- -D warnings", "clippy:napi": "cargo clippy --all-features -- -D warnings", "clippy": "yarn clippy:rs && yarn clippy:napi", "fmt:rs": "cd ./x-win-rs && cargo fmt -- --check", "fmt:napi": "cargo fmt -- --check", "fmt": "yarn fmt:rs && yarn fmt:napi", "checkall": "yarn format && yarn lint && yarn clippy && yarn fmt", "universalize": "napi universalize" }, "packageManager": "yarn@4.13.0", "optionalDependencies": { "@miniben90/x-win-darwin-x64": "3.5.0", "@miniben90/x-win-darwin-arm64": "3.5.0", "@miniben90/x-win-linux-x64-gnu": "3.5.0", "@miniben90/x-win-linux-x64-musl": "3.5.0", "@miniben90/x-win-win32-ia32-msvc": "3.5.0", "@miniben90/x-win-win32-x64-msvc": "3.5.0", "@miniben90/x-win-win32-arm64-msvc": "3.5.0", "@miniben90/x-win-darwin-universal": "3.5.0" } }