is-root
Check if the process is running as root user, for example, one started with `sudo`
3.0.0
21M downloads/mo
#3982 most downloaded on npm
sindresorhus/is-root
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Ships fairly regularly
a new release about every 1.5 years
No release notes found
nothing matched a version
Nothing withdrawn
no release was ever pulled
13 years old
5 releases · first in 2014
0 releases in the last 12 months
see the full history below
Release timeline
5 releases · Feb 2014 to Apr 2021Releases
latest 5-
3.0.007 Apr 2021Nothing published for this version
-
2.1.019 Apr 2019Nothing published for this version
-
2.0.022 Mar 2018Nothing published for this version
-
1.0.013 Aug 2014Nothing published for this version
-
0.1.006 Feb 2014Nothing published for this version