Check if the process is running as superuser
npm install is-super --save
import isSuper from 'is-super'
// or
const isSuper = require('is-super')
console.log(isSuper());
//=> false
Determine if the current window is a superuser
Repository from Github https://github.comCreateWheel/is-super
Check if the process is running as superuser
npm install is-super --save
import isSuper from 'is-super'
// or
const isSuper = require('is-super')
console.log(isSuper());
//=> false
Determine if the current window is a superuser
MIT License