sindresorhus / is-elevatedLinks
Check if the process is running with elevated privileges
☆42Updated 4 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 administrator on Windows☆38Updated 4 years ago
- Check if a process is running☆60Updated 4 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Create a MD5 hash with hex encoding☆46Updated 2 years ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆95Updated 3 years ago
- Import a globally installed module☆57Updated last year
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Check if something is a promise☆46Updated 4 years ago
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆104Updated last year
- Copy a file☆121Updated 2 months ago
- Get the set npm registry URL☆56Updated 6 months 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
- Get the directory of globally installed packages and binaries☆76Updated 2 years ago
- Determine if an object is a Buffer☆90Updated 4 years ago
- Truncate a string to a specific width in the terminal☆87Updated 2 weeks ago
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Wrapper for the Windows `tasklist` command. Returns a list of apps and services with their Process ID (PID) for all tasks running on eith…☆70Updated 4 years ago
- Cross-platform .zip file creation☆129Updated last year
- Easily handle defaults for your options☆75Updated 2 years ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 6 years ago
- Indent each line in a string☆113Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 2 months ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Log the value/error of a promise☆27Updated 4 years ago
- Create an array without duplicates☆73Updated 4 years ago
- Rename a function☆47Updated 2 years ago