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-elevated
Usage
const isElevated = require('native-is-elevated')(); // boolean value