UNPKG

win-screen-resolution

Version:

Get the current and all available screen resolution on Windows

85 lines (84 loc) 1.95 kB
{ "name": "win-screen-resolution", "version": "4.0.0", "description": "Get the current and all available screen resolution on Windows", "type": "module", "exports": { ".": { "types": "./types/index.d.ts", "default": "./lib/index.js" } }, "types": "./types/index.d.ts", "files": [ "/lib", "/src", "/prebuilds", "/types", "/binding.gyp" ], "engines": { "node": ">=22.11.0", "npm": "^10.9.0" }, "gypfile": true, "scripts": { "install": "addons", "build:x86": "node-gyp rebuild --arch=ia32", "build:x64": "node-gyp rebuild --arch=x64", "build:arm64": "node-gyp rebuild --arch=arm64", "sri": "addons-sri --algo sha384", "clean": "node-gyp clean", "test": "node --test test/auto/*.js", "lint": "biome lint", "declare": "tsc --emitDeclarationOnly" }, "keywords": [ "screen", "resolution", "windows", "DPI", "display", "primary" ], "author": { "name": "Anthony Beaumont", "email": "dev.xan105@outlook.be", "url": "https://xan105.com/" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/xan105/node-win-screen-resolution.git" }, "bugs": { "url": "https://github.com/xan105/node-win-screen-resolution/issues" }, "homepage": "https://github.com/xan105/node-win-screen-resolution#readme", "funding": [ { "type": "github", "url": "https://github.com/sponsors/xan105" }, { "type": "paypal", "url": "https://www.paypal.me/xan105" }, { "type": "patreon", "url": "https://www.patreon.com/xan105" } ], "devDependencies": { "@biomejs/biome": "^1.9.4", "@types/node": "^22.9.0", "@xan105/fs": "^2.3.0", "typescript": "^5.6.3" }, "dependencies": { "@xan105/addons": "^2.1.1", "@xan105/error": "^1.7.1", "@xan105/is": "^2.10.1", "node-addon-api": "^8.2.2" } }