CreateWheel / is-super

Determine if the current window is a superuser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is-super

Check if the process is running as superuser

Installation

npm install is-super --save

Usage

import isSuper from 'is-super'
// or
const isSuper = require('is-super')

console.log(isSuper());
//=> false

About

Determine if the current window is a superuser

License:MIT License


Languages

Language:JavaScript 100.0%