root-check
v2.0.0 sudo root user permissions uid block prevent stop downgrade and 4 more...
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.