You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
one small note for whoever picks this up, on windows process.getuid doesn't exist, so both the package and this snippet return undefined instead of false. faithful to the original, but the docs entry could show process.getuid?.() === 0 if we want a strict boolean.
Activity
dreyfus92 commentedon Aug 27, 2026
one small note for whoever picks this up, on windows
process.getuiddoesn't exist, so both the package and this snippet return undefined instead of false. faithful to the original, but the docs entry could showprocess.getuid?.() === 0if we want a strict boolean.