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.
$ npm install --save native-is-elevated
const isElevated = require('native-is-elevated')(); // boolean value