UNPKG

@avatsavirs/get-windows

Version:

Get metadata about the active window and open windows (title, id, bounds, owner, URL, etc)

98 lines (97 loc) 2.12 kB
{ "name": "@avatsavirs/get-windows", "version": "1.0.8", "description": "Get metadata about the active window and open windows (title, id, bounds, owner, URL, etc)", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/avatsavirs/get-windows.git" }, "author": "avatsavirs", "type": "module", "exports": { "types": "./index.d.ts", "default": "./index.js" }, "main": "./index.js", "sideEffects": false, "engines": { "node": ">=18.18" }, "binary": { "module_name": "node-get-windows", "module_path": "./lib/binding/napi-{napi_build_version}-{platform}-{libc}-{arch}", "host": "https://github.com/avatsavirs/get-windows/releases/download/", "remote_path": "v{version}", "package_name": "napi-{napi_build_version}-{platform}-{libc}-{arch}.tar.gz", "napi_versions": [ 9 ] }, "scripts": { "test": "xo && npm run build:macos && ava && tsd", "test-ci": "xo && tsd", "build:windows:install": "node-pre-gyp install --fallback-to-build", "build:windows": "node-pre-gyp build", "build:windows:debug": "node-pre-gyp build --debug", "build:macos": "swift build --configuration=release --arch arm64 --arch x86_64 && mv .build/apple/Products/Release/get-windows main", "install": "node-pre-gyp install --fallback-to-build" }, "files": [ "index.js", "index.d.ts", "lib", "main", "Sources/windows/main.cc", "binding.gyp" ], "keywords": [ "macos", "linux", "windows", "app", "application", "window", "windows", "active", "focused", "current", "open", "title", "name", "id", "pid", "screenshot", "capture", "metadata", "bounds", "memory", "usage", "bundleid", "browser", "url", "chrome", "safari", "edge", "brave" ], "devDependencies": { "ava": "^6.1.3", "tsd": "^0.31.1", "xo": "^0.59.3", "node-pre-gyp-github": "^2.0.0" }, "optionalDependencies": { "@mapbox/node-pre-gyp": "^1.0.11", "node-addon-api": "^8.1.0", "node-gyp": "^10.2.0" }, "peerDependencies": { "node-gyp": "^10.1.0" }, "peerDependenciesMeta": { "node-gyp": { "optional": true } } }