JSPM

root-check

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 296006
  • Score
    100M100P100Q164535F
  • License MIT

Try to downgrade the permissions of a process with root privileges and block access if it fails

Package Exports

  • root-check

Readme

root-check

Try to downgrade the permissions of a process with root privileges and block access if it fails

Install

$ npm install root-check

Usage

import rootCheck from 'root-check';

rootCheck();

API

See the sudo-block API.