npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

root-check

2.0.0

@sindresorhus

npmHomeRepoSnykSocket
Downloads:308252
$ npm install root-check
DailyWeeklyMonthlyYearly

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.