sindresorhus / is-elevated
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
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Create a MD5 hash with hex encoding☆45Updated last year
- Import a globally installed module☆58Updated last year
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 weeks ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Check if the process is running as administrator on Windows☆37Updated 3 years ago
- Get the set npm registry URL☆54Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- List of node.js builtin modules☆38Updated 11 months ago
- Break out of a promise chain☆23Updated 3 years ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- Check if a process is running☆58Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Minimal module to check if a file is executable.☆48Updated 7 months ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Check if a file path is a binary file☆44Updated 10 months ago
- Easily handle defaults for your options☆73Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last year
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆49Updated 3 years ago