is-root

npmv3.0.0

Check if the process is running as root user, for example, one started with `sudo`

License MITpermissive5 versions1 maintainers0 deps4,817,851 weekly dl
sindresorhus/is-root
59
/ 100
Health
safe to use

[email protected] is safe to use (health: 59/100)

Health breakdown0 – 100
0/25
maintenance
17/20
popularity
25/25
security
15/15
maturity
2/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

🌟

TypeScript

7/10typed
Types from @types/is-root (DefinitelyTyped)
Quality signals
OSS Criticality
0.69high

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/is-root

First published · 2014-02-06T18:11:14.970Z

Last updated · 2021-04-07T08:14:21.112Z