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 root user, for example, one started with `sudo`☆78Updated 3 years ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Check if the process is running as administrator on Windows☆38Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆95Updated 3 years ago
- Create a MD5 hash with hex encoding☆46Updated last year
- Copy a file☆121Updated 2 months ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Check if a process is running☆60Updated 3 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Import a globally installed module☆57Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Check if something is a Node.js stream☆113Updated 11 months ago
- Create a Vinyl file from an actual file☆42Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 11 months ago
- Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds☆53Updated 3 years ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- Easily handle defaults for your options☆75Updated 2 years ago
- Check if something is a promise☆46Updated 4 years ago
- Get the path of the caller module☆66Updated 4 years ago
- Cross-platform .zip file creation☆129Updated last year
- Rename a function☆47Updated last year
- Get the set npm registry URL☆56Updated 6 months ago
- Truncate a string to a specific width in the terminal☆87Updated last month
- Wordwrap a string with ANSI escape codes☆129Updated last month
- Lax URL parsing with support for protocol-less URLs and IPs☆54Updated last month
- Wrapper for the Windows `taskkill` command. Ends one or more tasks or processes.☆43Updated 3 years ago