is-root
Check if the process is running as root user, for example, one started with `sudo`
$
npm install is-rootOfficial docs outline
Extra Credit builds an outline of is-root's docs the first time your work uses it. Until then, start at the official documentation.
More in npm packages
All 9,484-
@babel/plugin-proposal-export-namespace-from Compile export namespace to ES2015
-
check-types A little library for asserting types and values, with zero dependencies.
-
is-url-superb Check if a string is a URL
-
detective-typescript Get the dependencies of a TypeScript module
-
country-flag-icons Vector (*.svg) country flag icons in 3x2 aspect ratio.
-
@octokit/openapi-webhooks-types Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com
-
@napi-rs/keyring-linux-x64-gnu https://github.com/hwchen/keyring-rs Node.js binding via https://napi.rs
-
@vercel/cli-auth Used by Vercel's CLIs to handle authentication
-
module-definition Determines if a file is using a CommonJS or AMD module definition
-
@uiw/codemirror-extensions-basic-setup Basic configuration for the CodeMirror6 code editor.
-
es-aggregate-error ES Proposal spec-compliant shim for AggregateError
-
qrcode-generator QR Code Generator implementation in JavaScript.