found 707 packages in 17ms
is-root22.1mMIT3.0.0
Check if the process is running as root user, for example, one started with sudo
sindresorhusalmost 2 years agosudo, root, user, permissions @casl/ability3.2mMIT6.7.3
CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access
stalniy6 months agopermissions, authorization, acl, abac stat-mode5.9mMIT1.0.0
Offers convenient getters and setters for the stat mode
TooTallNatealmost 2 years agostat, mode, owner, group sudo-block1.4mMIT5.0.0
Block users from running your app with root permissions
sindresorhusalmost 2 years agosudo, root, user, permissions root-check1.4mMIT2.0.0
Try to downgrade the permissions of a process with root privileges and block access if it fails
sindresorhusalmost 3 years agosudo, root, user, permissions