npm package
Homeis-root
The is-root package checks if the current process is running as the root user, which is useful for scripts that require elevated privileges. It can be used to ensure that certain operations are only performed when the script is executed with root access. This package is particularly relevant for command-line applications that may need to verify user permissions.
- lurq health score
- 47/100
- Confidence
- unproven
- Weekly downloads
- 4,488,200
- Latest version
- 3.0.0
- Last release
- Apr 7, 2021
- License
- MIT
Should you depend on is-root?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks is-root at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading is-root
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 2.1.0 → 3.0.0diff ready
- 1.0.0 → 2.1.0diff ready
- 0.1.0 → 1.0.0diff ready
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 18, 2026; this page refreshes every 168 hours. Source repository.