UNPKG

@rize-io/active-win

Version:

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

101 lines (100 loc) 2.17 kB
{ "name": "@rize-io/active-win", "version": "8.1.1-beta.24", "description": "Get metadata about the active window (title, id, bounds, owner, URL, etc)", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/rize-io/active-win.git" }, "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "engines": { "node": ">=14" }, "main": "./index", "types": "./index.d.ts", "binary": { "module_name": "node-active-win", "module_path": "./lib/binding/napi-{napi_build_version}-{platform}-{libc}-{arch}", "host": "https://github.com/rize-io/active-win/releases/download/", "remote_path": "v{version}", "package_name": "napi-{napi_build_version}-{platform}-{libc}-{arch}.tar.gz", "napi_versions": [ 3, 6 ] }, "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/active-win 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", "win", "active", "focused", "current", "title", "name", "id", "pid", "screenshot", "capture", "metadata", "bounds", "memory", "usage", "bundleid", "browser", "url", "chrome", "safari", "edge", "brave" ], "devDependencies": { "ava": "^2.4.0", "tsd": "^0.14.0", "xo": "^0.38.2", "node-pre-gyp-github": "^1.4.4" }, "optionalDependencies": { "@mapbox/node-pre-gyp": "^1.0.10", "node-addon-api": "^5.0.0", "node-gyp": "^9.3.0" }, "peerDependencies": { "node-gyp": "^9.3.0" }, "peerDependenciesMeta": { "node-gyp": { "optional": true } }, "ava": { "verbose": true } }