Package Exports
- native-is-elevated
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (native-is-elevated) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
native-is-elevated
Checks if the process is running with elevated privileges (as root on Unix systems, and as Administrator on Windows).
Basically just a native version of is-elevated.
Install
$ npm install --save native-is-elevatedUsage
const isElevated = require('native-is-elevated')(); // boolean value