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 the process is running as administrator on Windows☆39Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Get the directory of globally installed packages and binaries☆77Updated last week
- Create a MD5 hash with hex encoding☆48Updated 2 years ago
- Check if a path is a file, directory, or symlink☆80Updated last week
- Get the set npm registry URL☆57Updated 9 months ago
- Check if a process is running☆61Updated 4 years ago
- Copy a file☆123Updated 5 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Import a globally installed module☆59Updated 2 years ago
- Check if something is a promise☆45Updated 4 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Check if something is a Node.js stream☆115Updated last year
- Log the value/error of a promise☆29Updated 4 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Import a module like with `require()` but from a given path☆86Updated 3 years ago
- 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 last week
- Rename a function☆46Updated 2 years ago
- Wrapper for the Windows `taskkill` command. Ends one or more tasks or processes.☆44Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 4 months ago
- Cross-platform .zip file creation☆129Updated last year
- Get your PATH prepended with locally installed binaries☆107Updated last year
- Create an array without duplicates☆74Updated 4 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆70Updated 5 years ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆50Updated 4 years ago
- Truncate a string to a specific width in the terminal☆88Updated 3 months ago
- Lax URL parsing with support for protocol-less URLs and IPs☆55Updated 5 months ago
- Add callbacks to requests in flight to avoid async duplication☆75Updated last year