sindresorhus / is-elevated
Check if the process is running with elevated privileges
☆41Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for is-elevated
- Detect the dominant newline character of a string☆55Updated last year
- Check if the process is running as administrator on Windows☆37Updated 3 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆79Updated 2 years ago
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- Import a globally installed module☆57Updated 10 months ago
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Rename a function☆45Updated last year
- Check if something is a promise☆46Updated 3 years ago
- Get the set npm registry URL☆53Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Check if a file path is a binary file☆43Updated 6 months ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 6 months ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆54Updated 3 months ago
- List of node.js builtin modules☆38Updated 7 months ago
- Get the file extension and MIME type from a file☆25Updated 7 years ago
- Minimal module to check if a file is executable.☆48Updated 3 months ago
- Make a function mimic another one☆91Updated 3 weeks ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Check if a process is running☆58Updated 3 years ago
- Create a Vinyl file from an actual file☆41Updated last year
- Truncate a string to a specific width in the terminal☆86Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 5 years ago
- Repeat a string - fast☆34Updated 3 years ago