npm · npm:is-root
is-root active
Check if the process is running as root user, for example, one started with `sudo`
The latest stable version of is-root is 3.0.0, published on 2021-04-07. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.0.0 |
|---|---|
| Published | 2021-04-07 08:14:21 UTC |
| Install | npm install is-root@latest |
| Requires (engines) | {"node":">=12"} |
| Peer dependencies | — |
| Dist-tags | latest: 3.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 15:51:11 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2021-04-07 08:14:21 UTC · 2045 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 5 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.0.0 | 2021-04-07 08:14:21 UTC |
2.1.0 | 2019-04-19 13:51:22 UTC |
2.0.0 | 2018-03-22 15:26:41 UTC |
1.0.0 | 2014-08-13 17:10:37 UTC |
0.1.0 | 2014-02-06 18:11:14 UTC |
Showing the 5 most recent of 5 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 3.0.0 |
node 18 | 3.0.0 |
node 20 | 3.0.0 |
node 22 | 3.0.0 |
node 24 | 3.0.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of is-root?
The latest stable version of is-root is 3.0.0, published on 2021-04-07. Verified by Vigia on 2026-11-12.
How do I install the latest version of is-root?
Run npm install is-root@latest. The latest stable version is 3.0.0 (verified 2026-11-12).
Is is-root deprecated?
No. is-root is not marked as deprecated in the registry.
Which Node.js version does is-root require?
is-root 3.0.0 declares this requirement: {"node":">=12"}.
Does is-root 3.0.0 have known vulnerabilities?
No known advisories affect is-root 3.0.0 according to the data Vigia checks.
Is is-root still maintained?
is-root published 0 stable releases in the last 12 months; the most recent was 2045 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- hast-util-to-string
- @octokit/webhooks-methods
- @lit/reactive-element
- sift
- osenv
- @angular/common
- ts-pattern
- lib0
- @storybook/types
- raf-schd
- @aws-sdk/client-ssm
- mpath
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/is-root) [](https://vigia.coredls.cloud/npm/is-root) [](https://vigia.coredls.cloud/npm/is-root)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/is-root
GET https://vigia.coredls.cloud/v1/packages/npm/is-root/versions/{version}