sindresorhus / is-elevatedLinks
Check if the process is running with elevated privileges
☆41Updated 3 years ago
Alternatives and similar repositories for is-elevated
Users that are interested in is-elevated are comparing it to the libraries listed below
Sorting:
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated 11 months ago
- Check if the process is running as administrator on Windows☆37Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Create a MD5 hash with hex encoding☆45Updated last year
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Check if a process is running☆58Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 3 years ago
- Import a globally installed module☆58Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 4 months ago
- Check if something is a promise☆46Updated 4 years ago
- Find multiple RegExp matches in a string☆92Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Get the set npm registry URL☆55Updated 2 months ago
- Indent each line in a string☆113Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Copy a file☆121Updated last year
- Get the callsite of the caller function☆52Updated 3 years ago
- Cross-platform .zip file creation☆130Updated last year
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆50Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Easily handle defaults for your options☆75Updated last year
- Add callbacks to requests in flight to avoid async duplication☆73Updated last year
- Wrapper for the Windows `tasklist` command. Returns a list of apps and services with their Process ID (PID) for all tasks running on eith…☆67Updated 3 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last year
- Get your PATH prepended with locally installed binaries☆105Updated 8 months ago