npm.io
2.0.0 • Published 5 years ago

root-check

Licence
MIT
Version
2.0.0
Deps
2
Size
3 kB
Vulns
0
Weekly
0
Stars
31

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.

Keywords