JSPM

is-super

0.0.1-beta
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q14224F
  • License MIT

Check if the process is running as superuser

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-super) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    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