sindresorhus / is-elevatedLinks
Check if the process is running with elevated privileges
☆43Updated 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 root user, for example, one started with `sudo`☆79Updated 3 years ago
- Check if a process is running☆60Updated 4 years ago
- Check if the process is running as administrator on Windows☆39Updated 4 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Import a globally installed module☆58Updated last year
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get the set npm registry URL☆57Updated 8 months ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Create a MD5 hash with hex encoding☆47Updated 2 years ago
- Copy a file☆122Updated 4 months ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 6 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Cross-platform .zip file creation☆129Updated last year
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Require global npm as a local node module.☆32Updated 3 years ago
- Check if something is a promise☆46Updated 4 years ago
- Indent each line in a string☆114Updated 3 years ago
- Wrapper for the Windows `taskkill` command. Ends one or more tasks or processes.☆44Updated 3 years ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆84Updated last year
- Check if something is a Node.js stream☆115Updated last year
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 7 years ago
- Toggle the CLI cursor☆113Updated 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…☆71Updated 4 years ago
- Determine if an object is a Buffer☆90Updated 4 years ago