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
- Check if the process is running as administrator on Windows☆37Updated 3 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Check if something is a promise☆46Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Import a globally installed module☆58Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Get the set npm registry URL☆54Updated this week
- Check if a process is running☆58Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Require global npm as a local node module.☆32Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated 8 months ago
- Check if a file path is a binary file☆44Updated 11 months ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆49Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated last month
- Rename a function☆46Updated last year
- Clipboard access for Windows.☆14Updated 7 years ago
- Get the current package's binary path☆36Updated 2 weeks ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆59Updated 8 months ago
- Get the file extension and MIME type from a file☆26Updated 7 years ago
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 2 years ago
- Get the auth token set for an npm registry☆35Updated 2 months ago