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.
Try to downgrade the permissions of a process with root privileges and block access if it fails
$ npm install root-check
import rootCheck from 'root-check';
rootCheck();
See the sudo-block
API.
npm i root-check
231,876
2.0.0
MIT
2.65 kB
4