Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 247 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 247 Bytes

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