JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q15838F
  • License MIT

Check if the process is running as superuser

Package Exports

  • is-super

Readme

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