UNPKG

is-elevated

Version:

Check if the process is running with elevated privileges

54 lines (53 loc) 942 B
{ "name": "is-elevated", "version": "4.0.0", "description": "Check if the process is running with elevated privileges", "license": "MIT", "repository": "sindresorhus/is-elevated", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": "./index.js", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "scripts": { "test": "xo && ava && tsd" }, "files": [ "index.js", "index.d.ts" ], "keywords": [ "admin", "administrator", "win32", "windows", "process", "running", "cmd", "shell", "command-line", "check", "detect", "is", "root", "sudo", "elevate", "elevated", "privileges" ], "dependencies": { "is-admin": "^4.0.0", "is-root": "^3.0.0" }, "devDependencies": { "ava": "^3.15.0", "tsd": "^0.17.0", "xo": "^0.44.0" } }