$ cnpm install root-check
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.
Copyright 2013 - present © cnpmjs.org | Home |