is-admin
Check if the process is running as administrator on Windows
is-elevated
Check if the process is running with elevated privileges
node-sys
Universal package installer, get the command for managing packages, or auto install any package, using one command for all platforms. Automate the installation of macOS Brew, and Windows Chocolatey package managers. A promisify child process of spawn, and
elevated
Check if script is executed with elevated permissions: using sudo on Linux or administrator rights on Windows